Skip to main content
Module blend
gpui_
kit_
material_
color
0.1.0
Module blend
Module Items
Functions
In gpui_
kit_
material_
color::
dynamic
gpui_kit_material_color
::
dynamic
Module
blend
Copy item path
Source
Expand description
Blending in HCT and CAM16.
Functions
§
cam16_
ucs
from
blended toward
to
in CAM16-UCS; hue, chroma and tone all change.
harmonize
design_color
’s hue shifted toward
source_color
’s: at most half their distance and at most 15 degrees, so it stays recognizable.
hct_hue
from
with its hue blended toward
to
; chroma and tone are kept.