1. A method comprising: compressing color values using a palette based encoder; finding clusters of color values and encoding color values within the cluster with respect to a color value having a predefined characteristic; and encoding clusters that have pixels or samples with constant color value.