opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
color.h File Reference
#include <liboscar/graphics/rgba.h>
#include <optional>
#include <string>
#include <string_view>
Include dependency graph for color.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  osc
 

Typedefs

using osc::Color = Rgba< float >
 

Functions

float osc::to_linear_colorspace (float srgb_component_value)
 
float osc::to_srgb_colorspace (float linear_component_value)
 
Color osc::to_linear_colorspace (const Color &)
 
Color osc::to_srgb_colorspace (const Color &)
 
std::string osc::to_html_string_rgba (const Color &)
 
std::optional< Colorosc::try_parse_html_color_string (std::string_view)
 
Color osc::multiply_luminance (const Color &color, float factor)