[][src]Module screen_13::color

Contains color types and functions.

Note

I'm not sure this module has enough value on its own; other crates provide good API for this. Hmm.

Structs

AlphaColor

A four channel (with alpha) color.

Color

A three channel color

Constants

BLACK

Black - 0x000000

BLUE

Blue - 0x0000ff

CORNFLOWER_BLUE

Cornflower Blue - 0x6495ed

GREEN

Green - 0x00ff00

MAGENTA

Magenta - 0xff00ff

RED

Red - 0xff0000

TRANSPARENT_BLACK

Black with zero alpha - 0x00000000

WHITE

White - 0xffffff

Functions

color

Sets the screen display colors.