Skip to main content

Colors Struct

Standard color palette providing commonly used colors as vec4f (RGBA). More...

Declaration

struct helios::util::Colors { ... }

Public Static Functions Index

static constexpr helios::math::vec4ffromRGB (int r, int g, int b, int a=255)

Creates a color from RGB byte values (0-255). More...

static constexpr helios::math::vec4ffromHex (unsigned int hex, bool hasAlpha=false)

Creates a color from a 32-bit hex value (0xRRGGBB or 0xRRGGBBAA). More...

static constexpr helios::math::vec4fgrayscale (float value, float alpha=1.0f)

Creates a grayscale color. More...

static constexpr helios::math::vec4fwithAlpha (const helios::math::vec4f &color, float alpha)

Creates a color with modified alpha. More...

Public Static Attributes Index

static constexpr helios::math::vec4fBlack {0.0f, 0.0f, 0.0f, 1.0f}

Pure black (#000000). More...

static constexpr helios::math::vec4fWhite {1.0f, 1.0f, 1.0f, 1.0f}

Pure white (#FFFFFF). More...

static constexpr helios::math::vec4fRed {1.0f, 0.0f, 0.0f, 1.0f}

Pure red (#FF0000). More...

static constexpr helios::math::vec4fGreen {0.0f, 1.0f, 0.0f, 1.0f}

Pure green (#00FF00). More...

static constexpr helios::math::vec4fBlue {0.0f, 0.0f, 1.0f, 1.0f}

Pure blue (#0000FF). More...

static constexpr helios::math::vec4fYellow {1.0f, 1.0f, 0.0f, 1.0f}

Yellow (#FFFF00). More...

static constexpr helios::math::vec4fCyan {0.0f, 1.0f, 1.0f, 1.0f}

Cyan / Aqua (#00FFFF). More...

static constexpr helios::math::vec4fMagenta {1.0f, 0.0f, 1.0f, 1.0f}

Magenta / Fuchsia (#FF00FF). More...

static constexpr helios::math::vec4fLightGray {0.75f, 0.75f, 0.75f, 1.0f}

Light gray (#C0C0C0). More...

static constexpr helios::math::vec4fGray {0.5f, 0.5f, 0.5f, 1.0f}

Gray (#808080). More...

static constexpr helios::math::vec4fDarkGray {0.25f, 0.25f, 0.25f, 1.0f}

Dark gray (#404040). More...

static constexpr helios::math::vec4fDarkRed {0.545f, 0.0f, 0.0f, 1.0f}

Dark red (#8B0000). More...

static constexpr helios::math::vec4fCrimson {0.863f, 0.078f, 0.235f, 1.0f}

Crimson (#DC143C). More...

static constexpr helios::math::vec4fFirebrick {0.698f, 0.133f, 0.133f, 1.0f}

Firebrick (#B22222). More...

static constexpr helios::math::vec4fTomato {1.0f, 0.388f, 0.278f, 1.0f}

Tomato (#FF6347). More...

static constexpr helios::math::vec4fCoral {1.0f, 0.498f, 0.314f, 1.0f}

Coral (#FF7F50). More...

static constexpr helios::math::vec4fIndianRed {0.804f, 0.361f, 0.361f, 1.0f}

Indian Red (#CD5C5C). More...

static constexpr helios::math::vec4fSalmon {0.980f, 0.502f, 0.447f, 1.0f}

Salmon (#FA8072). More...

static constexpr helios::math::vec4fLightSalmon {1.0f, 0.627f, 0.478f, 1.0f}

Light Salmon (#FFA07A). More...

static constexpr helios::math::vec4fOrange {1.0f, 0.647f, 0.0f, 1.0f}

Orange (#FFA500). More...

static constexpr helios::math::vec4fDarkOrange {1.0f, 0.549f, 0.0f, 1.0f}

Dark Orange (#FF8C00). More...

static constexpr helios::math::vec4fOrangeRed {1.0f, 0.271f, 0.0f, 1.0f}

Orange Red (#FF4500). More...

static constexpr helios::math::vec4fGold {1.0f, 0.843f, 0.0f, 1.0f}

Gold (#FFD700). More...

static constexpr helios::math::vec4fLightYellow {1.0f, 1.0f, 0.878f, 1.0f}

Light Yellow (#FFFFE0). More...

static constexpr helios::math::vec4fLemonChiffon {1.0f, 0.980f, 0.804f, 1.0f}

Lemon Chiffon (#FFFACD). More...

static constexpr helios::math::vec4fKhaki {0.941f, 0.902f, 0.549f, 1.0f}

Khaki (#F0E68C). More...

static constexpr helios::math::vec4fDarkGreen {0.0f, 0.392f, 0.0f, 1.0f}

Dark Green (#006400). More...

static constexpr helios::math::vec4fForestGreen {0.133f, 0.545f, 0.133f, 1.0f}

Forest Green (#228B22). More...

static constexpr helios::math::vec4fLimeGreen {0.196f, 0.804f, 0.196f, 1.0f}

Lime Green (#32CD32). More...

static constexpr helios::math::vec4fLightGreen {0.565f, 0.933f, 0.565f, 1.0f}

Light Green (#90EE90). More...

static constexpr helios::math::vec4fPaleGreen {0.596f, 0.984f, 0.596f, 1.0f}

Pale Green (#98FB98). More...

static constexpr helios::math::vec4fSpringGreen {0.0f, 1.0f, 0.498f, 1.0f}

Spring Green (#00FF7F). More...

static constexpr helios::math::vec4fSeaGreen {0.180f, 0.545f, 0.341f, 1.0f}

Sea Green (#2E8B57). More...

static constexpr helios::math::vec4fOlive {0.502f, 0.502f, 0.0f, 1.0f}

Olive (#808000). More...

static constexpr helios::math::vec4fOliveDrab {0.420f, 0.557f, 0.137f, 1.0f}

Olive Drab (#6B8E23). More...

static constexpr helios::math::vec4fNavy {0.0f, 0.0f, 0.502f, 1.0f}

Navy (#000080). More...

static constexpr helios::math::vec4fDarkBlue {0.0f, 0.0f, 0.545f, 1.0f}

Dark Blue (#00008B). More...

static constexpr helios::math::vec4fMediumBlue {0.0f, 0.0f, 0.804f, 1.0f}

Medium Blue (#0000CD). More...

static constexpr helios::math::vec4fRoyalBlue {0.255f, 0.412f, 0.882f, 1.0f}

Royal Blue (#4169E1). More...

static constexpr helios::math::vec4fCornflowerBlue {0.392f, 0.584f, 0.929f, 1.0f}

Cornflower Blue (#6495ED). More...

static constexpr helios::math::vec4fDodgerBlue {0.118f, 0.565f, 1.0f, 1.0f}

Dodger Blue (#1E90FF). More...

static constexpr helios::math::vec4fDeepSkyBlue {0.0f, 0.749f, 1.0f, 1.0f}

Deep Sky Blue (#00BFFF). More...

static constexpr helios::math::vec4fSkyBlue {0.529f, 0.808f, 0.922f, 1.0f}

Sky Blue (#87CEEB). More...

static constexpr helios::math::vec4fLightSkyBlue {0.529f, 0.808f, 0.980f, 1.0f}

Light Sky Blue (#87CEFA). More...

static constexpr helios::math::vec4fLightBlue {0.678f, 0.847f, 0.902f, 1.0f}

Light Blue (#ADD8E6). More...

static constexpr helios::math::vec4fSteelBlue {0.275f, 0.510f, 0.706f, 1.0f}

Steel Blue (#4682B4). More...

static constexpr helios::math::vec4fPowderBlue {0.690f, 0.878f, 0.902f, 1.0f}

Powder Blue (#B0E0E6). More...

static constexpr helios::math::vec4fTeal {0.0f, 0.502f, 0.502f, 1.0f}

Teal (#008080). More...

static constexpr helios::math::vec4fDarkCyan {0.0f, 0.545f, 0.545f, 1.0f}

Dark Cyan (#008B8B). More...

static constexpr helios::math::vec4fTurquoise {0.251f, 0.878f, 0.816f, 1.0f}

Turquoise (#40E0D0). More...

static constexpr helios::math::vec4fAquamarine {0.498f, 1.0f, 0.831f, 1.0f}

Aquamarine (#7FFFD4). More...

static constexpr helios::math::vec4fPurple {0.502f, 0.0f, 0.502f, 1.0f}

Purple (#800080). More...

static constexpr helios::math::vec4fIndigo {0.294f, 0.0f, 0.510f, 1.0f}

Indigo (#4B0082). More...

static constexpr helios::math::vec4fDarkViolet {0.580f, 0.0f, 0.827f, 1.0f}

Dark Violet (#9400D3). More...

static constexpr helios::math::vec4fDarkOrchid {0.600f, 0.196f, 0.800f, 1.0f}

Dark Orchid (#9932CC). More...

static constexpr helios::math::vec4fMediumPurple {0.576f, 0.439f, 0.859f, 1.0f}

Medium Purple (#9370DB). More...

static constexpr helios::math::vec4fViolet {0.933f, 0.510f, 0.933f, 1.0f}

Violet (#EE82EE). More...

static constexpr helios::math::vec4fOrchid {0.855f, 0.439f, 0.839f, 1.0f}

Orchid (#DA70D6). More...

static constexpr helios::math::vec4fPlum {0.867f, 0.627f, 0.867f, 1.0f}

Plum (#DDA0DD). More...

static constexpr helios::math::vec4fLavender {0.902f, 0.902f, 0.980f, 1.0f}

Lavender (#E6E6FA). More...

static constexpr helios::math::vec4fPink {1.0f, 0.753f, 0.796f, 1.0f}

Pink (#FFC0CB). More...

static constexpr helios::math::vec4fLightPink {1.0f, 0.714f, 0.757f, 1.0f}

Light Pink (#FFB6C1). More...

static constexpr helios::math::vec4fHotPink {1.0f, 0.412f, 0.706f, 1.0f}

Hot Pink (#FF69B4). More...

static constexpr helios::math::vec4fDeepPink {1.0f, 0.078f, 0.576f, 1.0f}

Deep Pink (#FF1493). More...

static constexpr helios::math::vec4fBrown {0.647f, 0.165f, 0.165f, 1.0f}

Brown (#A52A2A). More...

static constexpr helios::math::vec4fMaroon {0.502f, 0.0f, 0.0f, 1.0f}

Maroon (#800000). More...

static constexpr helios::math::vec4fSienna {0.627f, 0.322f, 0.176f, 1.0f}

Sienna (#A0522D). More...

static constexpr helios::math::vec4fSaddleBrown {0.545f, 0.271f, 0.075f, 1.0f}

Saddle Brown (#8B4513). More...

static constexpr helios::math::vec4fChocolate {0.824f, 0.412f, 0.118f, 1.0f}

Chocolate (#D2691E). More...

static constexpr helios::math::vec4fPeru {0.804f, 0.522f, 0.247f, 1.0f}

Peru (#CD853F). More...

static constexpr helios::math::vec4fSandyBrown {0.957f, 0.643f, 0.376f, 1.0f}

Sandy Brown (#F4A460). More...

static constexpr helios::math::vec4fTan {0.824f, 0.706f, 0.549f, 1.0f}

Tan (#D2B48C). More...

static constexpr helios::math::vec4fBurlywood {0.871f, 0.722f, 0.529f, 1.0f}

Burlywood (#DEB887). More...

static constexpr helios::math::vec4fWheat {0.961f, 0.871f, 0.702f, 1.0f}

Wheat (#F5DEB3). More...

static constexpr helios::math::vec4fSnow {1.0f, 0.980f, 0.980f, 1.0f}

Snow (#FFFAFA). More...

static constexpr helios::math::vec4fIvory {1.0f, 1.0f, 0.941f, 1.0f}

Ivory (#FFFFF0). More...

static constexpr helios::math::vec4fLinen {0.980f, 0.941f, 0.902f, 1.0f}

Linen (#FAF0E6). More...

static constexpr helios::math::vec4fBeige {0.961f, 0.961f, 0.863f, 1.0f}

Beige (#F5F5DC). More...

static constexpr helios::math::vec4fAntiqueWhite {0.980f, 0.922f, 0.843f, 1.0f}

Antique White (#FAEBD7). More...

static constexpr helios::math::vec4fMintCream {0.961f, 1.0f, 0.980f, 1.0f}

Mint Cream (#F5FFFA). More...

static constexpr helios::math::vec4fAzure {0.941f, 1.0f, 1.0f, 1.0f}

Azure (#F0FFFF). More...

static constexpr helios::math::vec4fAliceBlue {0.941f, 0.973f, 1.0f, 1.0f}

Alice Blue (#F0F8FF). More...

static constexpr helios::math::vec4fGhostWhite {0.973f, 0.973f, 1.0f, 1.0f}

Ghost White (#F8F8FF). More...

static constexpr helios::math::vec4fWhiteSmoke {0.961f, 0.961f, 0.961f, 1.0f}

White Smoke (#F5F5F5). More...

static constexpr helios::math::vec4fTransparent {0.0f, 0.0f, 0.0f, 0.0f}

Fully transparent (all components 0). More...

static constexpr helios::math::vec4fCornsilk {1.0f, 0.973f, 0.863f, 1.0f}

Cornsilk (#FFF8DC). More...

static constexpr helios::math::vec4fHoneydew {0.941f, 1.0f, 0.941f, 1.0f}

Honeydew (#F0FFF0). More...

static constexpr helios::math::vec4fSeashell {1.0f, 0.961f, 0.933f, 1.0f}

Seashell (#FFF5EE). More...

static constexpr helios::math::vec4fFloralWhite {1.0f, 0.980f, 0.941f, 1.0f}

Floral White (#FFFAF0). More...

Description

Standard color palette providing commonly used colors as vec4f (RGBA).

All colors are defined in normalized RGBA format with components in [0.0, 1.0]. Alpha is set to 1.0 (fully opaque) by default.

Definition at line 17 of file Colors.ixx.

Public Static Functions

fromHex()

constexpr helios::math::vec4f helios::util::Colors::fromHex (unsigned int hex, bool hasAlpha=false)
inline constexpr static

Creates a color from a 32-bit hex value (0xRRGGBB or 0xRRGGBBAA).

Parameters
hex

The hex color value.

hasAlpha

If true, expects 0xRRGGBBAA format; otherwise 0xRRGGBB with alpha = 1.0.

Returns

Normalized vec4f color.

Definition at line 365 of file Colors.ixx.

365 static constexpr helios::math::vec4f fromHex(unsigned int hex, bool hasAlpha = false) {
366 if (hasAlpha) {
368 static_cast<float>((hex >> 24) & 0xFF) / 255.0f,
369 static_cast<float>((hex >> 16) & 0xFF) / 255.0f,
370 static_cast<float>((hex >> 8) & 0xFF) / 255.0f,
371 static_cast<float>(hex & 0xFF) / 255.0f
372 };
373 }
375 static_cast<float>((hex >> 16) & 0xFF) / 255.0f,
376 static_cast<float>((hex >> 8) & 0xFF) / 255.0f,
377 static_cast<float>(hex & 0xFF) / 255.0f,
378 1.0f
379 };
380 }

fromRGB()

constexpr helios::math::vec4f helios::util::Colors::fromRGB (int r, int g, int b, int a=255)
inline constexpr static

Creates a color from RGB byte values (0-255).

Parameters
r

Red component (0-255).

g

Green component (0-255).

b

Blue component (0-255).

a

Alpha component (0-255), defaults to 255 (opaque).

Returns

Normalized vec4f color.

Definition at line 350 of file Colors.ixx.

350 static constexpr helios::math::vec4f fromRGB(int r, int g, int b, int a = 255) {
352 static_cast<float>(r) / 255.0f,
353 static_cast<float>(g) / 255.0f,
354 static_cast<float>(b) / 255.0f,
355 static_cast<float>(a) / 255.0f
356 };
357 }

grayscale()

constexpr helios::math::vec4f helios::util::Colors::grayscale (float value, float alpha=1.0f)
inline constexpr static

Creates a grayscale color.

Parameters
value

The gray value (0.0 = black, 1.0 = white).

alpha

The alpha value (defaults to 1.0).

Returns

Grayscale vec4f color.

Definition at line 388 of file Colors.ixx.

388 static constexpr helios::math::vec4f grayscale(float value, float alpha = 1.0f) {
389 return helios::math::vec4f{value, value, value, alpha};
390 }

withAlpha()

constexpr helios::math::vec4f helios::util::Colors::withAlpha (const helios::math::vec4f & color, float alpha)
inline constexpr static

Creates a color with modified alpha.

Parameters
color

The source color.

alpha

The new alpha value.

Returns

Color with modified alpha.

Definition at line 398 of file Colors.ixx.

398 static constexpr helios::math::vec4f withAlpha(const helios::math::vec4f& color, float alpha) {
399 return helios::math::vec4f{color[0], color[1], color[2], alpha};
400 }

Public Static Attributes

AliceBlue

helios::math::vec4f helios::util::Colors::AliceBlue {0.941f, 0.973f, 1.0f, 1.0f}
constexpr static

Alice Blue (#F0F8FF).

Definition at line 311 of file Colors.ixx.

311 static constexpr helios::math::vec4f AliceBlue{0.941f, 0.973f, 1.0f, 1.0f};

AntiqueWhite

helios::math::vec4f helios::util::Colors::AntiqueWhite {0.980f, 0.922f, 0.843f, 1.0f}
constexpr static

Antique White (#FAEBD7).

Definition at line 302 of file Colors.ixx.

302 static constexpr helios::math::vec4f AntiqueWhite{0.980f, 0.922f, 0.843f, 1.0f};

Aquamarine

helios::math::vec4f helios::util::Colors::Aquamarine {0.498f, 1.0f, 0.831f, 1.0f}
constexpr static

Aquamarine (#7FFFD4).

Definition at line 202 of file Colors.ixx.

202 static constexpr helios::math::vec4f Aquamarine{0.498f, 1.0f, 0.831f, 1.0f};

Azure

helios::math::vec4f helios::util::Colors::Azure {0.941f, 1.0f, 1.0f, 1.0f}
constexpr static

Azure (#F0FFFF).

Definition at line 308 of file Colors.ixx.

308 static constexpr helios::math::vec4f Azure{0.941f, 1.0f, 1.0f, 1.0f};

Beige

helios::math::vec4f helios::util::Colors::Beige {0.961f, 0.961f, 0.863f, 1.0f}
constexpr static

Beige (#F5F5DC).

Definition at line 299 of file Colors.ixx.

299 static constexpr helios::math::vec4f Beige{0.961f, 0.961f, 0.863f, 1.0f};

Black

helios::math::vec4f helios::util::Colors::Black {0.0f, 0.0f, 0.0f, 1.0f}
constexpr static

Pure black (#000000).

Definition at line 24 of file Colors.ixx.

24 static constexpr helios::math::vec4f Black{0.0f, 0.0f, 0.0f, 1.0f};

Blue

helios::math::vec4f helios::util::Colors::Blue {0.0f, 0.0f, 1.0f, 1.0f}
constexpr static

Pure blue (#0000FF).

Definition at line 36 of file Colors.ixx.

36 static constexpr helios::math::vec4f Blue{0.0f, 0.0f, 1.0f, 1.0f};

Brown

helios::math::vec4f helios::util::Colors::Brown {0.647f, 0.165f, 0.165f, 1.0f}
constexpr static

Brown (#A52A2A).

Definition at line 256 of file Colors.ixx.

256 static constexpr helios::math::vec4f Brown{0.647f, 0.165f, 0.165f, 1.0f};

Burlywood

helios::math::vec4f helios::util::Colors::Burlywood {0.871f, 0.722f, 0.529f, 1.0f}
constexpr static

Burlywood (#DEB887).

Definition at line 280 of file Colors.ixx.

280 static constexpr helios::math::vec4f Burlywood{0.871f, 0.722f, 0.529f, 1.0f};

Chocolate

helios::math::vec4f helios::util::Colors::Chocolate {0.824f, 0.412f, 0.118f, 1.0f}
constexpr static

Chocolate (#D2691E).

Definition at line 268 of file Colors.ixx.

268 static constexpr helios::math::vec4f Chocolate{0.824f, 0.412f, 0.118f, 1.0f};

Coral

helios::math::vec4f helios::util::Colors::Coral {1.0f, 0.498f, 0.314f, 1.0f}
constexpr static

Coral (#FF7F50).

Definition at line 77 of file Colors.ixx.

77 static constexpr helios::math::vec4f Coral{1.0f, 0.498f, 0.314f, 1.0f};

CornflowerBlue

helios::math::vec4f helios::util::Colors::CornflowerBlue {0.392f, 0.584f, 0.929f, 1.0f}
constexpr static

Cornflower Blue (#6495ED).

Definition at line 165 of file Colors.ixx.

165 static constexpr helios::math::vec4f CornflowerBlue{0.392f, 0.584f, 0.929f, 1.0f};

Cornsilk

helios::math::vec4f helios::util::Colors::Cornsilk {1.0f, 0.973f, 0.863f, 1.0f}
constexpr static

Cornsilk (#FFF8DC).

Definition at line 327 of file Colors.ixx.

327 static constexpr helios::math::vec4f Cornsilk{1.0f, 0.973f, 0.863f, 1.0f};

Crimson

helios::math::vec4f helios::util::Colors::Crimson {0.863f, 0.078f, 0.235f, 1.0f}
constexpr static

Crimson (#DC143C).

Definition at line 68 of file Colors.ixx.

68 static constexpr helios::math::vec4f Crimson{0.863f, 0.078f, 0.235f, 1.0f};

Cyan

helios::math::vec4f helios::util::Colors::Cyan {0.0f, 1.0f, 1.0f, 1.0f}
constexpr static

Cyan / Aqua (#00FFFF).

Definition at line 42 of file Colors.ixx.

42 static constexpr helios::math::vec4f Cyan{0.0f, 1.0f, 1.0f, 1.0f};

DarkBlue

helios::math::vec4f helios::util::Colors::DarkBlue {0.0f, 0.0f, 0.545f, 1.0f}
constexpr static

Dark Blue (#00008B).

Definition at line 156 of file Colors.ixx.

156 static constexpr helios::math::vec4f DarkBlue{0.0f, 0.0f, 0.545f, 1.0f};

DarkCyan

helios::math::vec4f helios::util::Colors::DarkCyan {0.0f, 0.545f, 0.545f, 1.0f}
constexpr static

Dark Cyan (#008B8B).

Definition at line 196 of file Colors.ixx.

196 static constexpr helios::math::vec4f DarkCyan{0.0f, 0.545f, 0.545f, 1.0f};

DarkGray

helios::math::vec4f helios::util::Colors::DarkGray {0.25f, 0.25f, 0.25f, 1.0f}
constexpr static

Dark gray (#404040).

Definition at line 58 of file Colors.ixx.

58 static constexpr helios::math::vec4f DarkGray{0.25f, 0.25f, 0.25f, 1.0f};

DarkGreen

helios::math::vec4f helios::util::Colors::DarkGreen {0.0f, 0.392f, 0.0f, 1.0f}
constexpr static

Dark Green (#006400).

Definition at line 122 of file Colors.ixx.

122 static constexpr helios::math::vec4f DarkGreen{0.0f, 0.392f, 0.0f, 1.0f};

DarkOrange

helios::math::vec4f helios::util::Colors::DarkOrange {1.0f, 0.549f, 0.0f, 1.0f}
constexpr static

Dark Orange (#FF8C00).

Definition at line 96 of file Colors.ixx.

96 static constexpr helios::math::vec4f DarkOrange{1.0f, 0.549f, 0.0f, 1.0f};

DarkOrchid

helios::math::vec4f helios::util::Colors::DarkOrchid {0.600f, 0.196f, 0.800f, 1.0f}
constexpr static

Dark Orchid (#9932CC).

Definition at line 218 of file Colors.ixx.

218 static constexpr helios::math::vec4f DarkOrchid{0.600f, 0.196f, 0.800f, 1.0f};

DarkRed

helios::math::vec4f helios::util::Colors::DarkRed {0.545f, 0.0f, 0.0f, 1.0f}
constexpr static

Dark red (#8B0000).

Definition at line 65 of file Colors.ixx.

65 static constexpr helios::math::vec4f DarkRed{0.545f, 0.0f, 0.0f, 1.0f};

DarkViolet

helios::math::vec4f helios::util::Colors::DarkViolet {0.580f, 0.0f, 0.827f, 1.0f}
constexpr static

Dark Violet (#9400D3).

Definition at line 215 of file Colors.ixx.

215 static constexpr helios::math::vec4f DarkViolet{0.580f, 0.0f, 0.827f, 1.0f};

DeepPink

helios::math::vec4f helios::util::Colors::DeepPink {1.0f, 0.078f, 0.576f, 1.0f}
constexpr static

Deep Pink (#FF1493).

Definition at line 249 of file Colors.ixx.

249 static constexpr helios::math::vec4f DeepPink{1.0f, 0.078f, 0.576f, 1.0f};

DeepSkyBlue

helios::math::vec4f helios::util::Colors::DeepSkyBlue {0.0f, 0.749f, 1.0f, 1.0f}
constexpr static

Deep Sky Blue (#00BFFF).

Definition at line 171 of file Colors.ixx.

171 static constexpr helios::math::vec4f DeepSkyBlue{0.0f, 0.749f, 1.0f, 1.0f};

DodgerBlue

helios::math::vec4f helios::util::Colors::DodgerBlue {0.118f, 0.565f, 1.0f, 1.0f}
constexpr static

Dodger Blue (#1E90FF).

Definition at line 168 of file Colors.ixx.

168 static constexpr helios::math::vec4f DodgerBlue{0.118f, 0.565f, 1.0f, 1.0f};

Firebrick

helios::math::vec4f helios::util::Colors::Firebrick {0.698f, 0.133f, 0.133f, 1.0f}
constexpr static

Firebrick (#B22222).

Definition at line 71 of file Colors.ixx.

71 static constexpr helios::math::vec4f Firebrick{0.698f, 0.133f, 0.133f, 1.0f};

FloralWhite

helios::math::vec4f helios::util::Colors::FloralWhite {1.0f, 0.980f, 0.941f, 1.0f}
constexpr static

Floral White (#FFFAF0).

Definition at line 336 of file Colors.ixx.

336 static constexpr helios::math::vec4f FloralWhite{1.0f, 0.980f, 0.941f, 1.0f};

ForestGreen

helios::math::vec4f helios::util::Colors::ForestGreen {0.133f, 0.545f, 0.133f, 1.0f}
constexpr static

Forest Green (#228B22).

Definition at line 125 of file Colors.ixx.

125 static constexpr helios::math::vec4f ForestGreen{0.133f, 0.545f, 0.133f, 1.0f};

GhostWhite

helios::math::vec4f helios::util::Colors::GhostWhite {0.973f, 0.973f, 1.0f, 1.0f}
constexpr static

Ghost White (#F8F8FF).

Definition at line 314 of file Colors.ixx.

314 static constexpr helios::math::vec4f GhostWhite{0.973f, 0.973f, 1.0f, 1.0f};

Gold

helios::math::vec4f helios::util::Colors::Gold {1.0f, 0.843f, 0.0f, 1.0f}
constexpr static

Gold (#FFD700).

Definition at line 106 of file Colors.ixx.

106 static constexpr helios::math::vec4f Gold{1.0f, 0.843f, 0.0f, 1.0f};

Gray

helios::math::vec4f helios::util::Colors::Gray {0.5f, 0.5f, 0.5f, 1.0f}
constexpr static

Gray (#808080).

Definition at line 55 of file Colors.ixx.

55 static constexpr helios::math::vec4f Gray{0.5f, 0.5f, 0.5f, 1.0f};

Green

helios::math::vec4f helios::util::Colors::Green {0.0f, 1.0f, 0.0f, 1.0f}
constexpr static

Pure green (#00FF00).

Definition at line 33 of file Colors.ixx.

33 static constexpr helios::math::vec4f Green{0.0f, 1.0f, 0.0f, 1.0f};

Honeydew

helios::math::vec4f helios::util::Colors::Honeydew {0.941f, 1.0f, 0.941f, 1.0f}
constexpr static

Honeydew (#F0FFF0).

Definition at line 330 of file Colors.ixx.

330 static constexpr helios::math::vec4f Honeydew{0.941f, 1.0f, 0.941f, 1.0f};

HotPink

helios::math::vec4f helios::util::Colors::HotPink {1.0f, 0.412f, 0.706f, 1.0f}
constexpr static

Hot Pink (#FF69B4).

Definition at line 246 of file Colors.ixx.

246 static constexpr helios::math::vec4f HotPink{1.0f, 0.412f, 0.706f, 1.0f};

IndianRed

helios::math::vec4f helios::util::Colors::IndianRed {0.804f, 0.361f, 0.361f, 1.0f}
constexpr static

Indian Red (#CD5C5C).

Definition at line 80 of file Colors.ixx.

80 static constexpr helios::math::vec4f IndianRed{0.804f, 0.361f, 0.361f, 1.0f};

Indigo

helios::math::vec4f helios::util::Colors::Indigo {0.294f, 0.0f, 0.510f, 1.0f}
constexpr static

Indigo (#4B0082).

Definition at line 212 of file Colors.ixx.

212 static constexpr helios::math::vec4f Indigo{0.294f, 0.0f, 0.510f, 1.0f};

Ivory

helios::math::vec4f helios::util::Colors::Ivory {1.0f, 1.0f, 0.941f, 1.0f}
constexpr static

Ivory (#FFFFF0).

Definition at line 293 of file Colors.ixx.

293 static constexpr helios::math::vec4f Ivory{1.0f, 1.0f, 0.941f, 1.0f};

Khaki

helios::math::vec4f helios::util::Colors::Khaki {0.941f, 0.902f, 0.549f, 1.0f}
constexpr static

Khaki (#F0E68C).

Definition at line 115 of file Colors.ixx.

115 static constexpr helios::math::vec4f Khaki{0.941f, 0.902f, 0.549f, 1.0f};

Lavender

helios::math::vec4f helios::util::Colors::Lavender {0.902f, 0.902f, 0.980f, 1.0f}
constexpr static

Lavender (#E6E6FA).

Definition at line 233 of file Colors.ixx.

233 static constexpr helios::math::vec4f Lavender{0.902f, 0.902f, 0.980f, 1.0f};

LemonChiffon

helios::math::vec4f helios::util::Colors::LemonChiffon {1.0f, 0.980f, 0.804f, 1.0f}
constexpr static

Lemon Chiffon (#FFFACD).

Definition at line 112 of file Colors.ixx.

112 static constexpr helios::math::vec4f LemonChiffon{1.0f, 0.980f, 0.804f, 1.0f};

LightBlue

helios::math::vec4f helios::util::Colors::LightBlue {0.678f, 0.847f, 0.902f, 1.0f}
constexpr static

Light Blue (#ADD8E6).

Definition at line 180 of file Colors.ixx.

180 static constexpr helios::math::vec4f LightBlue{0.678f, 0.847f, 0.902f, 1.0f};

LightGray

helios::math::vec4f helios::util::Colors::LightGray {0.75f, 0.75f, 0.75f, 1.0f}
constexpr static

Light gray (#C0C0C0).

Definition at line 52 of file Colors.ixx.

52 static constexpr helios::math::vec4f LightGray{0.75f, 0.75f, 0.75f, 1.0f};

LightGreen

helios::math::vec4f helios::util::Colors::LightGreen {0.565f, 0.933f, 0.565f, 1.0f}
constexpr static

Light Green (#90EE90).

Definition at line 131 of file Colors.ixx.

131 static constexpr helios::math::vec4f LightGreen{0.565f, 0.933f, 0.565f, 1.0f};

LightPink

helios::math::vec4f helios::util::Colors::LightPink {1.0f, 0.714f, 0.757f, 1.0f}
constexpr static

Light Pink (#FFB6C1).

Definition at line 243 of file Colors.ixx.

243 static constexpr helios::math::vec4f LightPink{1.0f, 0.714f, 0.757f, 1.0f};

LightSalmon

helios::math::vec4f helios::util::Colors::LightSalmon {1.0f, 0.627f, 0.478f, 1.0f}
constexpr static

Light Salmon (#FFA07A).

Definition at line 86 of file Colors.ixx.

86 static constexpr helios::math::vec4f LightSalmon{1.0f, 0.627f, 0.478f, 1.0f};

LightSkyBlue

helios::math::vec4f helios::util::Colors::LightSkyBlue {0.529f, 0.808f, 0.980f, 1.0f}
constexpr static

Light Sky Blue (#87CEFA).

Definition at line 177 of file Colors.ixx.

177 static constexpr helios::math::vec4f LightSkyBlue{0.529f, 0.808f, 0.980f, 1.0f};

LightYellow

helios::math::vec4f helios::util::Colors::LightYellow {1.0f, 1.0f, 0.878f, 1.0f}
constexpr static

Light Yellow (#FFFFE0).

Definition at line 109 of file Colors.ixx.

109 static constexpr helios::math::vec4f LightYellow{1.0f, 1.0f, 0.878f, 1.0f};

LimeGreen

helios::math::vec4f helios::util::Colors::LimeGreen {0.196f, 0.804f, 0.196f, 1.0f}
constexpr static

Lime Green (#32CD32).

Definition at line 128 of file Colors.ixx.

128 static constexpr helios::math::vec4f LimeGreen{0.196f, 0.804f, 0.196f, 1.0f};

Linen

helios::math::vec4f helios::util::Colors::Linen {0.980f, 0.941f, 0.902f, 1.0f}
constexpr static

Linen (#FAF0E6).

Definition at line 296 of file Colors.ixx.

296 static constexpr helios::math::vec4f Linen{0.980f, 0.941f, 0.902f, 1.0f};

Magenta

helios::math::vec4f helios::util::Colors::Magenta {1.0f, 0.0f, 1.0f, 1.0f}
constexpr static

Magenta / Fuchsia (#FF00FF).

Definition at line 45 of file Colors.ixx.

45 static constexpr helios::math::vec4f Magenta{1.0f, 0.0f, 1.0f, 1.0f};

Maroon

helios::math::vec4f helios::util::Colors::Maroon {0.502f, 0.0f, 0.0f, 1.0f}
constexpr static

Maroon (#800000).

Definition at line 259 of file Colors.ixx.

259 static constexpr helios::math::vec4f Maroon{0.502f, 0.0f, 0.0f, 1.0f};

MediumBlue

helios::math::vec4f helios::util::Colors::MediumBlue {0.0f, 0.0f, 0.804f, 1.0f}
constexpr static

Medium Blue (#0000CD).

Definition at line 159 of file Colors.ixx.

159 static constexpr helios::math::vec4f MediumBlue{0.0f, 0.0f, 0.804f, 1.0f};

MediumPurple

helios::math::vec4f helios::util::Colors::MediumPurple {0.576f, 0.439f, 0.859f, 1.0f}
constexpr static

Medium Purple (#9370DB).

Definition at line 221 of file Colors.ixx.

221 static constexpr helios::math::vec4f MediumPurple{0.576f, 0.439f, 0.859f, 1.0f};

MintCream

helios::math::vec4f helios::util::Colors::MintCream {0.961f, 1.0f, 0.980f, 1.0f}
constexpr static

Mint Cream (#F5FFFA).

Definition at line 305 of file Colors.ixx.

305 static constexpr helios::math::vec4f MintCream{0.961f, 1.0f, 0.980f, 1.0f};

Navy

helios::math::vec4f helios::util::Colors::Navy {0.0f, 0.0f, 0.502f, 1.0f}
constexpr static

Navy (#000080).

Definition at line 153 of file Colors.ixx.

153 static constexpr helios::math::vec4f Navy{0.0f, 0.0f, 0.502f, 1.0f};

Olive

helios::math::vec4f helios::util::Colors::Olive {0.502f, 0.502f, 0.0f, 1.0f}
constexpr static

Olive (#808000).

Definition at line 143 of file Colors.ixx.

143 static constexpr helios::math::vec4f Olive{0.502f, 0.502f, 0.0f, 1.0f};

OliveDrab

helios::math::vec4f helios::util::Colors::OliveDrab {0.420f, 0.557f, 0.137f, 1.0f}
constexpr static

Olive Drab (#6B8E23).

Definition at line 146 of file Colors.ixx.

146 static constexpr helios::math::vec4f OliveDrab{0.420f, 0.557f, 0.137f, 1.0f};

Orange

helios::math::vec4f helios::util::Colors::Orange {1.0f, 0.647f, 0.0f, 1.0f}
constexpr static

Orange (#FFA500).

Definition at line 93 of file Colors.ixx.

93 static constexpr helios::math::vec4f Orange{1.0f, 0.647f, 0.0f, 1.0f};

OrangeRed

helios::math::vec4f helios::util::Colors::OrangeRed {1.0f, 0.271f, 0.0f, 1.0f}
constexpr static

Orange Red (#FF4500).

Definition at line 99 of file Colors.ixx.

99 static constexpr helios::math::vec4f OrangeRed{1.0f, 0.271f, 0.0f, 1.0f};

Orchid

helios::math::vec4f helios::util::Colors::Orchid {0.855f, 0.439f, 0.839f, 1.0f}
constexpr static

Orchid (#DA70D6).

Definition at line 227 of file Colors.ixx.

227 static constexpr helios::math::vec4f Orchid{0.855f, 0.439f, 0.839f, 1.0f};

PaleGreen

helios::math::vec4f helios::util::Colors::PaleGreen {0.596f, 0.984f, 0.596f, 1.0f}
constexpr static

Pale Green (#98FB98).

Definition at line 134 of file Colors.ixx.

134 static constexpr helios::math::vec4f PaleGreen{0.596f, 0.984f, 0.596f, 1.0f};

Peru

helios::math::vec4f helios::util::Colors::Peru {0.804f, 0.522f, 0.247f, 1.0f}
constexpr static

Peru (#CD853F).

Definition at line 271 of file Colors.ixx.

271 static constexpr helios::math::vec4f Peru{0.804f, 0.522f, 0.247f, 1.0f};

Pink

helios::math::vec4f helios::util::Colors::Pink {1.0f, 0.753f, 0.796f, 1.0f}
constexpr static

Pink (#FFC0CB).

Definition at line 240 of file Colors.ixx.

240 static constexpr helios::math::vec4f Pink{1.0f, 0.753f, 0.796f, 1.0f};

Plum

helios::math::vec4f helios::util::Colors::Plum {0.867f, 0.627f, 0.867f, 1.0f}
constexpr static

Plum (#DDA0DD).

Definition at line 230 of file Colors.ixx.

230 static constexpr helios::math::vec4f Plum{0.867f, 0.627f, 0.867f, 1.0f};

PowderBlue

helios::math::vec4f helios::util::Colors::PowderBlue {0.690f, 0.878f, 0.902f, 1.0f}
constexpr static

Powder Blue (#B0E0E6).

Definition at line 186 of file Colors.ixx.

186 static constexpr helios::math::vec4f PowderBlue{0.690f, 0.878f, 0.902f, 1.0f};

Purple

helios::math::vec4f helios::util::Colors::Purple {0.502f, 0.0f, 0.502f, 1.0f}
constexpr static

Purple (#800080).

Definition at line 209 of file Colors.ixx.

209 static constexpr helios::math::vec4f Purple{0.502f, 0.0f, 0.502f, 1.0f};

Red

helios::math::vec4f helios::util::Colors::Red {1.0f, 0.0f, 0.0f, 1.0f}
constexpr static

Pure red (#FF0000).

Definition at line 30 of file Colors.ixx.

30 static constexpr helios::math::vec4f Red{1.0f, 0.0f, 0.0f, 1.0f};

RoyalBlue

helios::math::vec4f helios::util::Colors::RoyalBlue {0.255f, 0.412f, 0.882f, 1.0f}
constexpr static

Royal Blue (#4169E1).

Definition at line 162 of file Colors.ixx.

162 static constexpr helios::math::vec4f RoyalBlue{0.255f, 0.412f, 0.882f, 1.0f};

SaddleBrown

helios::math::vec4f helios::util::Colors::SaddleBrown {0.545f, 0.271f, 0.075f, 1.0f}
constexpr static

Saddle Brown (#8B4513).

Definition at line 265 of file Colors.ixx.

265 static constexpr helios::math::vec4f SaddleBrown{0.545f, 0.271f, 0.075f, 1.0f};

Salmon

helios::math::vec4f helios::util::Colors::Salmon {0.980f, 0.502f, 0.447f, 1.0f}
constexpr static

Salmon (#FA8072).

Definition at line 83 of file Colors.ixx.

83 static constexpr helios::math::vec4f Salmon{0.980f, 0.502f, 0.447f, 1.0f};

SandyBrown

helios::math::vec4f helios::util::Colors::SandyBrown {0.957f, 0.643f, 0.376f, 1.0f}
constexpr static

Sandy Brown (#F4A460).

Definition at line 274 of file Colors.ixx.

274 static constexpr helios::math::vec4f SandyBrown{0.957f, 0.643f, 0.376f, 1.0f};

SeaGreen

helios::math::vec4f helios::util::Colors::SeaGreen {0.180f, 0.545f, 0.341f, 1.0f}
constexpr static

Sea Green (#2E8B57).

Definition at line 140 of file Colors.ixx.

140 static constexpr helios::math::vec4f SeaGreen{0.180f, 0.545f, 0.341f, 1.0f};

Seashell

helios::math::vec4f helios::util::Colors::Seashell {1.0f, 0.961f, 0.933f, 1.0f}
constexpr static

Seashell (#FFF5EE).

Definition at line 333 of file Colors.ixx.

333 static constexpr helios::math::vec4f Seashell{1.0f, 0.961f, 0.933f, 1.0f};

Sienna

helios::math::vec4f helios::util::Colors::Sienna {0.627f, 0.322f, 0.176f, 1.0f}
constexpr static

Sienna (#A0522D).

Definition at line 262 of file Colors.ixx.

262 static constexpr helios::math::vec4f Sienna{0.627f, 0.322f, 0.176f, 1.0f};

SkyBlue

helios::math::vec4f helios::util::Colors::SkyBlue {0.529f, 0.808f, 0.922f, 1.0f}
constexpr static

Sky Blue (#87CEEB).

Definition at line 174 of file Colors.ixx.

174 static constexpr helios::math::vec4f SkyBlue{0.529f, 0.808f, 0.922f, 1.0f};

Snow

helios::math::vec4f helios::util::Colors::Snow {1.0f, 0.980f, 0.980f, 1.0f}
constexpr static

Snow (#FFFAFA).

Definition at line 290 of file Colors.ixx.

290 static constexpr helios::math::vec4f Snow{1.0f, 0.980f, 0.980f, 1.0f};

SpringGreen

helios::math::vec4f helios::util::Colors::SpringGreen {0.0f, 1.0f, 0.498f, 1.0f}
constexpr static

Spring Green (#00FF7F).

Definition at line 137 of file Colors.ixx.

137 static constexpr helios::math::vec4f SpringGreen{0.0f, 1.0f, 0.498f, 1.0f};

SteelBlue

helios::math::vec4f helios::util::Colors::SteelBlue {0.275f, 0.510f, 0.706f, 1.0f}
constexpr static

Steel Blue (#4682B4).

Definition at line 183 of file Colors.ixx.

183 static constexpr helios::math::vec4f SteelBlue{0.275f, 0.510f, 0.706f, 1.0f};

Tan

helios::math::vec4f helios::util::Colors::Tan {0.824f, 0.706f, 0.549f, 1.0f}
constexpr static

Tan (#D2B48C).

Definition at line 277 of file Colors.ixx.

277 static constexpr helios::math::vec4f Tan{0.824f, 0.706f, 0.549f, 1.0f};

Teal

helios::math::vec4f helios::util::Colors::Teal {0.0f, 0.502f, 0.502f, 1.0f}
constexpr static

Teal (#008080).

Definition at line 193 of file Colors.ixx.

193 static constexpr helios::math::vec4f Teal{0.0f, 0.502f, 0.502f, 1.0f};

Tomato

helios::math::vec4f helios::util::Colors::Tomato {1.0f, 0.388f, 0.278f, 1.0f}
constexpr static

Tomato (#FF6347).

Definition at line 74 of file Colors.ixx.

74 static constexpr helios::math::vec4f Tomato{1.0f, 0.388f, 0.278f, 1.0f};

Transparent

helios::math::vec4f helios::util::Colors::Transparent {0.0f, 0.0f, 0.0f, 0.0f}
constexpr static

Fully transparent (all components 0).

Definition at line 324 of file Colors.ixx.

324 static constexpr helios::math::vec4f Transparent{0.0f, 0.0f, 0.0f, 0.0f};

Turquoise

helios::math::vec4f helios::util::Colors::Turquoise {0.251f, 0.878f, 0.816f, 1.0f}
constexpr static

Turquoise (#40E0D0).

Definition at line 199 of file Colors.ixx.

199 static constexpr helios::math::vec4f Turquoise{0.251f, 0.878f, 0.816f, 1.0f};

Violet

helios::math::vec4f helios::util::Colors::Violet {0.933f, 0.510f, 0.933f, 1.0f}
constexpr static

Violet (#EE82EE).

Definition at line 224 of file Colors.ixx.

224 static constexpr helios::math::vec4f Violet{0.933f, 0.510f, 0.933f, 1.0f};

Wheat

helios::math::vec4f helios::util::Colors::Wheat {0.961f, 0.871f, 0.702f, 1.0f}
constexpr static

Wheat (#F5DEB3).

Definition at line 283 of file Colors.ixx.

283 static constexpr helios::math::vec4f Wheat{0.961f, 0.871f, 0.702f, 1.0f};

White

helios::math::vec4f helios::util::Colors::White {1.0f, 1.0f, 1.0f, 1.0f}
constexpr static

Pure white (#FFFFFF).

Definition at line 27 of file Colors.ixx.

27 static constexpr helios::math::vec4f White{1.0f, 1.0f, 1.0f, 1.0f};

Referenced by helios::rendering::text::TextShaderProperties::TextShaderProperties.

WhiteSmoke

helios::math::vec4f helios::util::Colors::WhiteSmoke {0.961f, 0.961f, 0.961f, 1.0f}
constexpr static

White Smoke (#F5F5F5).

Definition at line 317 of file Colors.ixx.

317 static constexpr helios::math::vec4f WhiteSmoke{0.961f, 0.961f, 0.961f, 1.0f};

Yellow

helios::math::vec4f helios::util::Colors::Yellow {1.0f, 1.0f, 0.0f, 1.0f}
constexpr static

Yellow (#FFFF00).

Definition at line 39 of file Colors.ixx.

39 static constexpr helios::math::vec4f Yellow{1.0f, 1.0f, 0.0f, 1.0f};

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.