Top "Rgb" questions

RGB stands for Red-Green-Blue and specifies a color using three values, which represent the respective amount of red, green, and blue in the color.

RGB to hex and hex to RGB

How to convert colors in RGB format to hex format and vice versa? For example, convert '#0080C0' to (0, 128, 192).

javascript colors hex rgb
How to read the RGB value of a given pixel in Python?

If I open an image with open("image.jpg"), how can I get the RGB values of a pixel assuming …

python graphics rgb pixel
Formula to determine brightness of RGB color

I'm looking for some kind of formula or algorithm to determine the brightness of a color given the RGB values. …

image colors rgb
Hex colors: Numeric representation for "transparent"?

I am building a web CMS in which the user can choose colours for certain site elements. I would like …

css colors transparency rgb
Set background colour of cell to RGB value of data in cell

I have a column containing RGB values, e.g.: 127,187,199 67,22,94 In Excel, is there any way I can use this to …

excel vba rgb
libpng warning: iCCP: known incorrect sRGB profile

I'm trying to load a PNG image using SDL but the program doesn't work and this error appears in the …

c++ warnings sdl rgb libpng
Get pixel's RGB using PIL

Is it possible to get the RGB color of a pixel using PIL? I'm using this code: im = Image.open("…

python image python-imaging-library rgb pixel
Converting RGB to grayscale/intensity

When converting from RGB to grayscale, it is said that specific weights to channels R, G, and B ought to …

image-processing colors computer-vision language-agnostic rgb
HSL to RGB color conversion

I am looking for an algorithm to convert between HSL color to RGB. It seems to me that HSL is …

algorithm colors rgb hsl
Convert System.Drawing.Color to RGB and Hex Value

Using C# I was trying to develop the following two. The way I am doing it may have some problem …

c# asp.net rgb system.drawing.color