fromUcsInViewingConditions

fun fromUcsInViewingConditions(jstar: Double, astar: Double, bstar: Double, viewingConditions: ViewingConditions): Cam16

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

Parameters

jstar

CAM16-UCS lightness.

astar

CAM16-UCS a dimension. Like a* in Lab*, it is a Cartesian coordinate on the Y axis.

bstar

CAM16-UCS b dimension. Like a* in Lab*, it is a Cartesian coordinate on the X axis.

viewingConditions

Information about the environment where the color was observed.