Module palette::stimulus

source ·
Expand description

Traits for working with stimulus colors and values, such as RGB and XYZ.

Traits§

  • Converts from a stimulus color component type, while performing the appropriate scaling, rounding and clamping.
  • Converts into a stimulus color component type, while performing the appropriate scaling, rounding and clamping.
  • Color components that represent a stimulus intensity.
  • A marker trait for colors where all components are stimuli.