IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
colors.hxx File Reference

Go to the source code of this file.

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::color

Typedefs

using ice::color::OkLAB = ice::detail::ColorData<ColorFormat::OkLAB>
using ice::color::OkLCH = ice::detail::ColorData<ColorFormat::OkLCH>
using ice::color::OkLCHu8 = ice::detail::ColorData<ColorFormat::OkLCHu8>
using ice::color::LRGB = ice::detail::ColorData<ColorFormat::LinearRGB>
using ice::color::LRGBu8 = ice::detail::ColorData<ColorFormat::LinearRGBu8>
using ice::color::SRGB = ice::detail::ColorData<ColorFormat::StandardRGB>
using ice::Color = ice::color::OkLCH
using ice::ShaderColor = ice::color::LRGB

Variables

static constexpr OkLCH ice::color::White { 1.0f, 0.0f, 0.0_deg, 1.0f }
static constexpr OkLCH ice::color::Black { 0.0f, 0.0f, 0.0_deg, 1.0f }
static constexpr OkLCH ice::color::Red { 0.628f, 0.2577f, 29.23f, 1.0f }
static constexpr OkLCH ice::color::Green { 0.8664f, 0.294827f, 142.4953f, 1.0f }
static constexpr OkLCH ice::color::Blue { 0.452f, 0.313214f, 264.052f, 1.0f }
static constexpr OkLCH ice::color::Yellow { 0.968f, 0.211f, 109.77f, 1.0f }
static constexpr OkLCH ice::color::Magenta { 0.7017f, 0.3225f, 328.36f, 1.0f }
static constexpr OkLCH ice::color::Cyan { 0.9054f, 0.15455f, 194.769f, 1.0f }