{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

ColorModel.Companion

public static class ColorModel.Companion


Summary

Public methods

static final @NonNull ColorModel

The CMYK model is a color model with 4 components that refer to four inks used in color printing: cyan, magenta, yellow and black (or key).

static final @NonNull ColorModel

The Lab model is a color model with 3 components used to describe a color space that is more perceptually uniform than XYZ.

static final @NonNull ColorModel

The RGB model is a color model with 3 components that refer to the three additive primiaries: red, green and blue.

static final @NonNull ColorModel

The XYZ model is a color model with 3 components that are used to model human color vision on a basic sensory level.

Public methods

getCmyk

public static final @NonNull ColorModel getCmyk()

The CMYK model is a color model with 4 components that refer to four inks used in color printing: cyan, magenta, yellow and black (or key). CMYK is a subtractive color model.

getLab

public static final @NonNull ColorModel getLab()

The Lab model is a color model with 3 components used to describe a color space that is more perceptually uniform than XYZ.

getRgb

public static final @NonNull ColorModel getRgb()

The RGB model is a color model with 3 components that refer to the three additive primiaries: red, green and blue.

getXyz

public static final @NonNull ColorModel getXyz()

The XYZ model is a color model with 3 components that are used to model human color vision on a basic sensory level.