logo
pub trait WebColors: PixelColor + RgbColor {
Show 141 associated constants and 0 method const CSS_ALICE_BLUE: Self; const CSS_ANTIQUE_WHITE: Self; const CSS_AQUA: Self; const CSS_AQUAMARINE: Self; const CSS_AZURE: Self; const CSS_BEIGE: Self; const CSS_BISQUE: Self; const CSS_BLACK: Self; const CSS_BLANCHED_ALMOND: Self; const CSS_BLUE: Self; const CSS_BLUE_VIOLET: Self; const CSS_BROWN: Self; const CSS_BURLY_WOOD: Self; const CSS_CADET_BLUE: Self; const CSS_CHARTREUSE: Self; const CSS_CHOCOLATE: Self; const CSS_CORAL: Self; const CSS_CORNFLOWER_BLUE: Self; const CSS_CORNSILK: Self; const CSS_CRIMSON: Self; const CSS_CYAN: Self; const CSS_DARK_BLUE: Self; const CSS_DARK_CYAN: Self; const CSS_DARK_GOLDENROD: Self; const CSS_DARK_GRAY: Self; const CSS_DARK_GREEN: Self; const CSS_DARK_KHAKI: Self; const CSS_DARK_MAGENTA: Self; const CSS_DARK_OLIVE_GREEN: Self; const CSS_DARK_ORANGE: Self; const CSS_DARK_ORCHID: Self; const CSS_DARK_RED: Self; const CSS_DARK_SALMON: Self; const CSS_DARK_SEA_GREEN: Self; const CSS_DARK_SLATE_BLUE: Self; const CSS_DARK_SLATE_GRAY: Self; const CSS_DARK_TURQUOISE: Self; const CSS_DARK_VIOLET: Self; const CSS_DEEP_PINK: Self; const CSS_DEEP_SKY_BLUE: Self; const CSS_DIM_GRAY: Self; const CSS_DODGER_BLUE: Self; const CSS_FIRE_BRICK: Self; const CSS_FLORAL_WHITE: Self; const CSS_FOREST_GREEN: Self; const CSS_FUCHSIA: Self; const CSS_GAINSBORO: Self; const CSS_GHOST_WHITE: Self; const CSS_GOLD: Self; const CSS_GOLDENROD: Self; const CSS_GRAY: Self; const CSS_GREEN: Self; const CSS_GREEN_YELLOW: Self; const CSS_HONEYDEW: Self; const CSS_HOT_PINK: Self; const CSS_INDIAN_RED: Self; const CSS_INDIGO: Self; const CSS_IVORY: Self; const CSS_KHAKI: Self; const CSS_LAVENDER: Self; const CSS_LAVENDER_BLUSH: Self; const CSS_LAWN_GREEN: Self; const CSS_LEMON_CHIFFON: Self; const CSS_LIGHT_BLUE: Self; const CSS_LIGHT_CORAL: Self; const CSS_LIGHT_CYAN: Self; const CSS_LIGHT_GOLDENROD_YELLOW: Self; const CSS_LIGHT_GRAY: Self; const CSS_LIGHT_GREEN: Self; const CSS_LIGHT_PINK: Self; const CSS_LIGHT_SALMON: Self; const CSS_LIGHT_SEA_GREEN: Self; const CSS_LIGHT_SKY_BLUE: Self; const CSS_LIGHT_SLATE_GRAY: Self; const CSS_LIGHT_STEEL_BLUE: Self; const CSS_LIGHT_YELLOW: Self; const CSS_LIME: Self; const CSS_LIME_GREEN: Self; const CSS_LINEN: Self; const CSS_MAGENTA: Self; const CSS_MAROON: Self; const CSS_MEDIUM_AQUAMARINE: Self; const CSS_MEDIUM_BLUE: Self; const CSS_MEDIUM_ORCHID: Self; const CSS_MEDIUM_PURPLE: Self; const CSS_MEDIUM_SEA_GREEN: Self; const CSS_MEDIUM_SLATE_BLUE: Self; const CSS_MEDIUM_SPRING_GREEN: Self; const CSS_MEDIUM_TURQUOISE: Self; const CSS_MEDIUM_VIOLET_RED: Self; const CSS_MIDNIGHT_BLUE: Self; const CSS_MINT_CREAM: Self; const CSS_MISTY_ROSE: Self; const CSS_MOCCASIN: Self; const CSS_NAVAJO_WHITE: Self; const CSS_NAVY: Self; const CSS_OLD_LACE: Self; const CSS_OLIVE: Self; const CSS_OLIVE_DRAB: Self; const CSS_ORANGE: Self; const CSS_ORANGE_RED: Self; const CSS_ORCHID: Self; const CSS_PALE_GOLDENROD: Self; const CSS_PALE_GREEN: Self; const CSS_PALE_TURQUOISE: Self; const CSS_PALE_VIOLET_RED: Self; const CSS_PAPAYA_WHIP: Self; const CSS_PEACH_PUFF: Self; const CSS_PERU: Self; const CSS_PINK: Self; const CSS_PLUM: Self; const CSS_POWDER_BLUE: Self; const CSS_PURPLE: Self; const CSS_REBECCAPURPLE: Self; const CSS_RED: Self; const CSS_ROSY_BROWN: Self; const CSS_ROYAL_BLUE: Self; const CSS_SADDLE_BROWN: Self; const CSS_SALMON: Self; const CSS_SANDY_BROWN: Self; const CSS_SEA_GREEN: Self; const CSS_SEASHELL: Self; const CSS_SIENNA: Self; const CSS_SILVER: Self; const CSS_SKY_BLUE: Self; const CSS_SLATE_BLUE: Self; const CSS_SLATE_GRAY: Self; const CSS_SNOW: Self; const CSS_SPRING_GREEN: Self; const CSS_STEEL_BLUE: Self; const CSS_TAN: Self; const CSS_TEAL: Self; const CSS_THISTLE: Self; const CSS_TOMATO: Self; const CSS_TURQUOISE: Self; const CSS_VIOLET: Self; const CSS_WHEAT: Self; const CSS_WHITE: Self; const CSS_WHITE_SMOKE: Self; const CSS_YELLOW: Self; const CSS_YELLOW_GREEN: Self;
}
Expand description

Named colors as defined in the CSS specification.

This list includes the basic color keywords as well as all colors in the extended color keywords list.

Note that the grEy variants of some colors as defined in the spec are absent from this list. The grAy variants of these colors should be used instead.

Associated Constants

Alice Blue

Antique White

Aqua

Aquamarine

Azure

Beige

Bisque

Black

Blanched Almond

Blue

Blue Violet

Brown

Burly Wood

Cadet Blue

Chartreuse

Chocolate

Coral

Cornflower Blue

Cornsilk

Crimson

Cyan

Dark Blue

Dark Cyan

Dark Goldenrod

Dark Gray

Dark Green

Dark Khaki

Dark Magenta

Dark Olive Green

Dark Orange

Dark Orchid

Dark Red

Dark Salmon

Dark Sea Green

Dark Slate Blue

Dark Slate Gray

Dark Turquoise

Dark Violet

Deep Pink

Deep Sky Blue

Dim Gray

Dodger Blue

Fire Brick

Floral White

Forest Green

Fuchsia

Gainsboro

Ghost White

Gold

Goldenrod

Gray

Green

Green Yellow

Honeydew

Hot Pink

Indian Red

Indigo

Ivory

Khaki

Lavender

Lavender Blush

Lawn Green

Lemon Chiffon

Light Blue

Light Coral

Light Cyan

Light Goldenrod Yellow

Light Gray

Light Green

Light Pink

Light Salmon

Light Sea Green

Light Sky Blue

Light Slate Gray

Light Steel Blue

Light Yellow

Lime

Lime Green

Linen

Magenta

Maroon

Medium Aquamarine

Medium Blue

Medium Orchid

Medium Purple

Medium Sea Green

Medium Slate Blue

Medium Spring Green

Medium Turquoise

Medium Violet Red

Midnight Blue

Mint Cream

Misty Rose

Moccasin

Navajo White

Navy

Old Lace

Olive

Olive Drab

Orange

Orange Red

Orchid

Pale Goldenrod

Pale Green

Pale Turquoise

Pale Violet Red

Papaya Whip

Peach Puff

Peru

Pink

Plum

Powder Blue

Purple

Rebeccapurple

Red

Rosy Brown

Royal Blue

Saddle Brown

Salmon

Sandy Brown

Sea Green

Seashell

Sienna

Silver

Sky Blue

Slate Blue

Slate Gray

Snow

Spring Green

Steel Blue

Tan

Teal

Thistle

Tomato

Turquoise

Violet

Wheat

White

White Smoke

Yellow

Yellow Green

Implementors

Named web colors.

Named web colors.

Named web colors.

Named web colors.

Named web colors.

Named web colors.