Tuesday, September 19, 2017

[uytyhhho] Random color

Sample uniformly in Cielab color space and reject if it not in the RGB/sRGB gamut.  This (probably) decreases samples in the near-white and near-black regions.  Using a quasi random sequence would avoid colors close to each other.

Random colors of a given lightness also easy.  Previously, random saturated color, avoiding grays.

No comments :