Need help with GLSL-Color-Spaces?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

tobspr
139 Stars 19 Forks MIT License 14 Commits 1 Opened issues

Description

Utility functions to convert between various color spaces in GLSL

Services available

!
?

Need anything else?

Contributors list

# 86,093
OpenGL
Shell
c-plus-...
panda3d
9 commits
# 215,897
HTML
Shell
Kotlin
Android
1 commit
# 227,831
Shell
C
webgpu
Rust
1 commit

GLSL-Color-Spaces

Utility functions to convert between various color spaces in GLSL

Supported conversions

d = directly implemented

x = Implemented using two or more direct implementions

From / To | RGB | sRGB | XYZ | xyY | HCV | HUE | HSV | HSL | HCY | YCbCr | |--- |-----|------|-----|-----|-----|-----|-----|-----|-----|-------| | RGB | d | d | d | d | d | | d | d | d | d | | sRGB | d | d | x | x | x | | x | x | x | x | | XYZ | d | x | d | d | x | | x | x | x | x | | xyY | d | x | d | d | x | | x | x | x | x | | HCV | | | | | d | | | | | | | HUE | d | x | x | x | x | d | x | x | x | x | | HSV | d | x | x | x | x | | d | x | x | x | | HSL | d | x | x | x | x | | x | d | x | x | | HCY | d | x | x | x | x | | x | x | d | x | | YCbCr | d | x | x | x | x | | x | x | x | d |

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.