Package com.github.tommyettinger.colorful.pure.ycwcm
package com.github.tommyettinger.colorful.pure.ycwcm
Color space code specialized for YCwCm, a custom YCC color space.
YCwCm has Luma (perceptual lightness, abbreviated Y by custom), Chromatic Warmth (from cyan to magenta, roughly; when
Cw is higher, colors tend to be perceived as warmer hues, and lower values are perceived as cooler hues), and
Chromatic Mildness (from violet to chartreuse, with higher values of Cm generally blending into backgrounds more
easily than lower values with the same saturation) channels. This color space is simple to calculate, and the
presence of both luma and chromatic warmth gives some aesthetic freedom in tinting colors, but its luma calculation
isn't as good as
IPT_HQ
's intensity.
-
ClassDescriptionContains code for manipulating colors as
int
and packedfloat
values in the YCwCm color space.Static methods for handling gradients of smoothly-changing colors, typically inside ofFloatList
s.A palette of predefined colors as packed YCwCm floats, the kindFloatColors
works with.