Companion

object Companion

Functions

Link copied to clipboard
fun fromInt(argb: Int): Cam16

Create a CAM16 color from a color, assuming the color was viewed in default viewing conditions.

Link copied to clipboard
fun fromIntInViewingConditions(argb: Int, viewingConditions: ViewingConditions): Cam16

Create a CAM16 color from a color in defined viewing conditions.

Link copied to clipboard
fun fromJch(j: Double, c: Double, h: Double): Cam16
Link copied to clipboard
fun fromUcs(jstar: Double, astar: Double, bstar: Double): Cam16

Create a CAM16 color from CAM16-UCS coordinates.

Link copied to clipboard
fun fromUcsInViewingConditions(jstar: Double, astar: Double, bstar: Double, viewingConditions: ViewingConditions): Cam16

Create a CAM16 color from CAM16-UCS coordinates in defined viewing conditions.

Link copied to clipboard