# Questions tagged [colorspace]

The tag has no usage guidance.

19 questions
Filter by
Sorted by
Tagged with
5k views

### How do I calculate average hue, since the numbers loop around?

If I calculate the average (mean) hue of a set of colours naively, I will get silly answers sometimes. For example, in HSB/HSL, the average of hue=10 (slightly orange red) and hue=350 (slightly blue ...
• 299
4k views

### Why is there a difference between the CIE XYZ colour gamut vs CIE RGB?

Yet another question about colour space... In my research on CIE XYZ system, I found that it is based on the CIE RGB colour matching experiments, and that because the RGB system needed occasional ...
• 205
1k views

### Alpha blending in linear colour space

I've been making a simple game in OpenGL, and implemented a screen fade-out using the old 'draw a black fullscreen quad and ramp up the alpha' trick. I'm doing all my shaders in linear space and using ...
• 2,402
173 views

### Does CIE XYZ preserve spectral accuracy when used for progressive rendering?

How accurate it is to estimate rendering equation using wavelengths and then convert result to CIE XYZ to accumulate samples temporally by averaging them over time?
• 125
36 views

### Would there be a point in creating monitors that have more than the regular RGB color channels?

I was thinking about color spaces and the coverage between the sRGB and Lab color spaces such as OkLab. I was wondering if there could exist some different monitor technology with more than 3 color ...
• 21
2k views

### How to convert from XYZ or sRGB to ACEScg/AP1

I'm confused about how to properly convert from sRGB or XYZ color space to ACEScg. Specifically whether I have to account for differences in white point explicitly. The aces github page gives the ...
• 203
164 views

### Interpolating HSV color with black

I'm interpolating RGB values by transforming them into HSV space and then back into RGB. I have trouble figuring out how to achieve ...
• 163
39 views

### Is color saturation really related to light intensity?

In this article on Wikipedia, under saturation, it's written that "The purest (most saturated) color is achieved by using just one wavelength at a high intensity, such as in laser light. If the ...
• 121
61 views

### value range in CIEXYZ space

When converting from sRGB to CIEXYZ I seem to be off by a factor of 100 I'm trying to convert from sRGB to CIELAB. Calculation First I need to go from sRGB to CIEXYZ. Using this formula I get i.e. ...
• 23
25 views

### What CMFs (aka Spectral Functions) did Microsoft and HP use to develop sRGB standardized in: IEC 61966-2-1:1999?

CIE 1931 2° probably served as a basis, but which version? Published in 1999, the final specification can not have referred to CIE 2006, but cvrl.org lists several others: CIE 1931 2°, CIE 1931 2° ...
104 views

### What is the CMYK color profile used by pantone.com

Pantone spot colors are specified in the RGB and CMYK color models on the https://pantone.com website. For example, the Pantone 122 spot color as it appears when printed on coated paper is specified ...
• 21
1 vote
178 views

### Luminace, RGB, and SMPT ST 2084 EOTF

I need a point clarified. According to wikipedia, SMPT ST 2084 EOTF is this: I've seen this equation implemented in game engines where for L they feed the channels RGB, each of which is 0 to 10,000 ...
1 vote
98 views

### What is the best way to display complex number "images"?

I may be getting some details wrong (e.g. colour space vs. colour model), so please bear with me: I want to represent "images" consisting of complex numbers i.e. for each "pixel" ...
1 vote
21 views

### Using the HTML canvas and colors to track objects

I need to rewrite a short utility library, to get it working with the Brave browser (My actual question isn't about brave per se.) canvas-color-tracker - example of it being used and src/index.js is ...
• 11
92 views

### How do I plot tristimulus curves?

LMS Color Space is based on responsivity of 3 cones in Human eyes with each having different curves. I'm looking for a way to plot those curves. Moreover, Is threre a way to covert wavelength under ...
63 views

### What is the name of this moving color pixels effect, for animating a painting?

https://superrare.co/artwork-v2/spring-22267 The artwork in the link seems to be based on a painting of a woman, but effects have been added that assign a pixel to each block of the painting that ...
• 115
106 views

### What is the relation between colour spaces and what is actually displayed on our screens?

I am not entirely sure that this is the right stack exchange, but I couldn't find any other suitable one - please redirect me if necessary. There exists mathematically defined colour spaces which help ...
• 205