Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cam16Ucs ¶
Cam16Ucs blends colors in CAM16-UCS uniform color space.
Params:
- from: Starting color in CAM16-UCS.
- to: Target color in CAM16-UCS.
- amount: Interpolation factor (0.0-1.0).
Returns color.ARGB - Fully blended color with interpolated attributes. Blends all color attributes (hue, chroma, tone) simultaneously.
func Harmonize ¶
Harmonize adjusts hue of designColor to be closer to sourceColor's hue.
Params:
- designColor: Color to adjust.
- sourceColor: Color to harmonize towards.
Returns color.ARGB - Adjusted color with preserved chroma and tone. Hue is rotated towards sourceColor by up to 15 degrees.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.