30template <
typename ColorMode>
34 const ColorMode& color_mode)
const {
ARGB8888 color stored as a 32-bit unsigned integer.
Defines 140 opaque HTML named colors.
@ kNone
All colors are fully opaque.
Color InterpolateColorWithTransparency(Color c, int16_t fraction_color)
Equivalent to InterpolateColors(Transparent, c, fraction_color).
Color InterpolateOpaqueColorWithTransparency(Color c, int16_t fraction_color)
Equivalent to InterpolateColors(Transparent, c, fraction_color) for opaque c.
Color InterpolateColors(Color c1, Color c2, int16_t fraction)
Interpolate between two colors with fraction in [0, 256].
Color InterpolateOpaqueColors(Color c1, Color c2, int16_t fraction)
Interpolate between two opaque colors with fraction in [0, 256].
Default raw color interpolator (specialized in color_modes.h).
Color operator()(ColorStorageType< ColorMode > c1, ColorStorageType< ColorMode > c2, uint16_t fraction, const ColorMode &color_mode) const