Blend

open class Blend

Functions for blending in HCT and CAM16.

Functions

Link copied to clipboard
open fun cam16Ucs(from: Int, to: Int, amount: Double): Int
Blend in CAM16-UCS space.
Link copied to clipboard
open fun harmonize(designColor: Int, sourceColor: Int): Int
Blend the design color's HCT hue towards the key color's HCT hue, in a way that leaves the original color recognizable and recognizably shifted towards the key color.
Link copied to clipboard
open fun hctHue(from: Int, to: Int, amount: Double): Int
Blends hue from one color into another.