Anzeige


Color Calculator | Mix Colors | Complementary Color | Gray Tone | RGB Single Values | Random Color

Mix Colors - Calculator

Calculates the mean of two RGB colors from their hexadecimal values. Please enter two six-digit color codes, like 000000 for black or FFFFFF for white. The mean from these two color codes will be calculated. Fractions will be rounded. The three colors are displayed in boxes below the color codes.


Color code 1: #
 
 
Color code 2: #
 
 
Mixed color: #
 
 



Example calculates the mean of red and blue, which is purple. The values ​​are #FF0000 for red, #0000FF for blue and #800080 for purple.

# is a symbol that the following values ​​are hexadecimal, i.e. in the sixteen-digit system. The hexadecimal system has digits from 0 to F, after F comes 10. The colors are specified with values ​​for red, green and blue, with each color value being written with two digits and ranging from 00 to FF. FF has the decimal value 255. The average of a color is calculated by adding the three individual color values ​​of the two colors and then dividing them by two. FF is decimal 255, plus 00 makes no difference, divided by 2 gives decimal 127.5, which is rounded to 128 because the color values ​​must be integers. The decimal value 128 is 80 as a hexadecimal value, hence the combined color value #800080 for the mixed color.

It is possible that the calculated average color value does not exactly correspond to the felt or perceived mixture of both original colors. This may be because the human eye also has receptors for the colors red, green and blue, from which the color values ​​arise, but these receptors do not perceive all brightnesses in the same way. With the same technical brightness, green is perceived as brighter than red, which in turn is perceived as brighter than blue. With a mixed color, the corresponding proportion and thus the perception of brightness is leveled down.



© Jumk.de Webprojects | Imprint & Privacy

German: Farbrechner



Anzeige