Rgb

interface Rgb : Color

Common interface for color spaces that express color with the following 3 components:

  • R: amount of red color

  • G: amount of green color

  • B: amount of blue color

Implementations of this are usually device color spaces, used for final output colors.

Properties

b
Link copied to clipboard
abstract val b: Double

Blue color component.

g
Link copied to clipboard
abstract val g: Double

Green color component.

r
Link copied to clipboard
abstract val r: Double

Red color component.

Inheritors

LinearSrgb
Link copied to clipboard
Srgb
Link copied to clipboard