IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
colors.hxx
Go to the documentation of this file.
1
3
4#pragma once
6
7namespace ice
8{
9
10 namespace color
11 {
12
19
20 // Static defined colors
21 static constexpr OkLCH White{ 1.0f, 0.0f, 0.0_deg, 1.0f };
22 static constexpr OkLCH Black{ 0.0f, 0.0f, 0.0_deg, 1.0f };
23
24 static constexpr OkLCH Red{ 0.628f, 0.2577f, 29.23f, 1.0f };
25 static constexpr OkLCH Green{ 0.8664f, 0.294827f, 142.4953f, 1.0f };
26 static constexpr OkLCH Blue{ 0.452f, 0.313214f, 264.052f, 1.0f };
27
28 static constexpr OkLCH Yellow{ 0.968f, 0.211f, 109.77f, 1.0f };
29 static constexpr OkLCH Magenta{ 0.7017f, 0.3225f, 328.36f, 1.0f };
30 static constexpr OkLCH Cyan{ 0.9054f, 0.15455f, 194.769f, 1.0f };
31
32 } // namespace color
33
36
37} // namespace ice
Definition colors.hxx:11
static constexpr OkLCH Black
Definition colors.hxx:22
static constexpr OkLCH Blue
Definition colors.hxx:26
ice::detail::ColorData< ColorFormat::OkLCHu8 > OkLCHu8
Definition colors.hxx:15
ice::detail::ColorData< ColorFormat::LinearRGBu8 > LRGBu8
Definition colors.hxx:17
static constexpr OkLCH Red
Definition colors.hxx:24
static constexpr OkLCH White
Definition colors.hxx:21
ice::detail::ColorData< ColorFormat::StandardRGB > SRGB
Definition colors.hxx:18
ice::detail::ColorData< ColorFormat::LinearRGB > LRGB
Definition colors.hxx:16
ice::detail::ColorData< ColorFormat::OkLCH > OkLCH
Definition colors.hxx:14
static constexpr OkLCH Green
Definition colors.hxx:25
ice::detail::ColorData< ColorFormat::OkLAB > OkLAB
Definition colors.hxx:13
static constexpr OkLCH Yellow
Definition colors.hxx:28
static constexpr OkLCH Cyan
Definition colors.hxx:30
static constexpr OkLCH Magenta
Definition colors.hxx:29
SPDX-License-Identifier: MIT.
Definition array.hxx:12
ice::color::LRGB ShaderColor
Definition colors.hxx:35
ice::color::OkLCH Color
Definition colors.hxx:34
Definition color_data.hxx:11