[][src]Module three::color

sRGB colors.

Constants

BLACK

Black.

BLUE

Blue.

CYAN

Cyan.

GREEN

Green.

MAGENTA

Magenta.

RED

Red.

WHITE

White.

YELLOW

Yellow.

Functions

from_linear_rgb

Linear to sRGB conversion.

to_linear_rgb

sRGB to linear conversion.

Type Definitions

Color

sRGB color represented by a 4-byte hexadecimal number.