Converting Colors

Advertisment

Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · CSS · Help

Conversions

Here you see your color converted to 15 different color formats like RGB, CMYK, HSV, HSL, CIELab, Android, Decimal, and YUV. 🎁 Convert multiple colors at once or get Conversions and Harmonies via the REST API.

Conversions Part 1
FormatColor
Hex1F1414
RGB31, 20, 20
RGB Percent12%, 8%, 8%
CMY0.8793, 0.9207, 0.9208
CMYK0.00, 0.34, 0.34, 0.88
HSL0°, 21%, 10%
HSV0°, 34%, 12%
XYZ0.9407, 0.8470, 0.7853
Conversions Part 2
FormatColor
RYB31, 20, 20
Decimal2036756
CIELab7.65, 5.41, 1.96
CIELCh8, 5.750, 19.923
Yxy0.8470, 0.3656, 0.3292
Android (android.graphics.Color)4280226836 (0xFF1F1414)
YUV23.2890, -1.6215, 6.7625

Details

The Yxy color 0.8470, 0.3656, 0.3292 is a dark color, and the websafe version is hex 000000. A complement of this color would be 1.2172, 0.2760, 0.3288, and the grayscale version is 0.8782, 0.3127, 0.3290.

A 20% lighter version of the original color is 5.2889, 0.3418, 0.3291, and 0.0000, 0.0000, 0.0000 is the 20% darker color. If you saturate the color by 10%, you get 0.7340, 0.3874, 0.3293, and if you desaturate by 10%, it is 0.9753, 0.3470, 0.3291.

Advertisment

Distribution

RGB Color DistributionThe distribution of the RGB values, red, green and blue.RedThe Perecentage of Red in the Color.GreenThe Perecentage of Green in the Color.BlueThe Perecentage of Blue in the Color.RGB
RYB Color DistributionThe distribution of the RYB values, red, yellow and blue.RedThe Perecentage of Red in the Color.YellowThe Perecentage of Yellow in the Color.BlueThe Perecentage of Blue in the Color.RYB
CMYK Color DistributionThe distribution of the CMYK values, Cyan, Magenta, Yellow and Black.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.BlackThe Perecentage of Black in the Color.CMYK
CMY Color DistributionThe distribution of the CMY values, Cyan, Magenta, Yellow.CyanThe Perecentage of Cyan in the Color.MagentaThe Perecentage of Magenta in the Color.YellowThe Perecentage of Yellow in the Color.CMY

Brightness & Saturation Gradients

These gradients show how the Yxy color 0.8470, 0.3656, 0.3292 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

Similar to the brightness gradients but the following saturation gradients show a change of the Yxy color 0.8470, 0.3656, 0.3292 by changing the saturation by 10% instead.

Brightness GradientThese gradients show how the {format} color {color} changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.94.0469, 0.3233, 0.3291The Color 94.0469, 0.3233, 0.3291.71.3420, 0.3243, 0.3291The Color 71.3420, 0.3243, 0.3291.52.6213, 0.3255, 0.3291The Color 52.6213, 0.3255, 0.3291.37.5005, 0.3270, 0.3291The Color 37.5005, 0.3270, 0.3291.25.5953, 0.3290, 0.3290The Color 25.5953, 0.3290, 0.3290.16.5211, 0.3316, 0.3290The Color 16.5211, 0.3316, 0.3290.9.8937, 0.3351, 0.3290The Color 9.8937, 0.3351, 0.3290.5.3285, 0.3403, 0.3289The Color 5.3285, 0.3403, 0.3289.2.4413, 0.3486, 0.3286The Color 2.4413, 0.3486, 0.3286.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Brightness Gradient

🖌️ View as Color Bucket

Saturation GradientSimilar to the brightness gradients but the following saturation gradients show a change of the {format} color {color} by changing the saturation by 10% instead.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.2885, 0.6398, 0.3302The Color 0.2885, 0.6398, 0.3302.0.3298, 0.5875, 0.3300The Color 0.3298, 0.5875, 0.3300.0.4034, 0.5211, 0.3298The Color 0.4034, 0.5211, 0.3298.0.4769, 0.4753, 0.3296The Color 0.4769, 0.4753, 0.3296.0.5510, 0.4415, 0.3295The Color 0.5510, 0.4415, 0.3295.0.6355, 0.4126, 0.3294The Color 0.6355, 0.4126, 0.3294.0.7340, 0.3874, 0.3293The Color 0.7340, 0.3874, 0.3293.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.2.6064, 0.2704, 0.3288The Color 2.6064, 0.2704, 0.3288.2.3395, 0.2756, 0.3288The Color 2.3395, 0.2756, 0.3288.2.0915, 0.2817, 0.3289The Color 2.0915, 0.2817, 0.3289.1.8618, 0.2887, 0.3289The Color 1.8618, 0.2887, 0.3289.1.6502, 0.2969, 0.3289The Color 1.6502, 0.2969, 0.3289.1.4562, 0.3066, 0.3290The Color 1.4562, 0.3066, 0.3290.1.2794, 0.3179, 0.3290The Color 1.2794, 0.3179, 0.3290.1.1192, 0.3313, 0.3291The Color 1.1192, 0.3313, 0.3291.0.9753, 0.3470, 0.3291The Color 0.9753, 0.3470, 0.3291.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

AnalogousThe analogous color harmony consists of three colors that are next to each other on the color wheel.0.8470, 0.3399, 0.3039The Color 0.8470, 0.3399, 0.3039.0.8470, 0.3802, 0.3592The Color 0.8470, 0.3802, 0.3592.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.8470, 0.3399, 0.3039The Color 0.8470, 0.3399, 0.3039.Analogous

🖌️ View as Color Bucket

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

TriadThe triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.8470, 0.2610, 0.2832The Color 0.8470, 0.2610, 0.2832.0.8470, 0.3160, 0.3836The Color 0.8470, 0.3160, 0.3836.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Triad

🖌️ View as Color Bucket

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

ComplementaryThe complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.1.2172, 0.2760, 0.3288The Color 1.2172, 0.2760, 0.3288.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Complementary

🖌️ View as Color Bucket

Split Complementary

Split-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.

Split ComplementarySplit-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.0.8470, 0.2537, 0.3007The Color 0.8470, 0.2537, 0.3007.0.8470, 0.2819, 0.3580The Color 0.8470, 0.2819, 0.3580.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.8470, 0.2537, 0.3007The Color 0.8470, 0.2537, 0.3007.Split Complementary

🖌️ View as Color Bucket

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

SquareThe square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.8470, 0.2805, 0.2786The Color 0.8470, 0.2805, 0.2786.0.8470, 0.2606, 0.3280The Color 0.8470, 0.2606, 0.3280.0.8470, 0.3524, 0.3942The Color 0.8470, 0.3524, 0.3942.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Square

🖌️ View as Color Bucket

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

RectangleThe rectangle color scheme consists of four colors that form a rectangle on the color wheel.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.8470, 0.2571, 0.2877The Color 0.8470, 0.2571, 0.2877.0.8470, 0.2606, 0.3280The Color 0.8470, 0.2606, 0.3280.0.8470, 0.3801, 0.3773The Color 0.8470, 0.3801, 0.3773.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Rectangle

🖌️ View as Color Bucket

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.0.7194, 0.3127, 0.3290The Color 0.7194, 0.3127, 0.3290.29.5700, 0.3127, 0.3290The Color 29.5700, 0.3127, 0.3290.0.6276, 0.3256, 0.3291The Color 0.6276, 0.3256, 0.3291.0.8933, 0.3156, 0.2668The Color 0.8933, 0.3156, 0.2668.1.9051, 0.3263, 0.3291The Color 1.9051, 0.3263, 0.3291.0.8470, 0.3656, 0.3292The Color 0.8470, 0.3656, 0.3292.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #1F1414 of the current color.

#1F1414
Advertisment

Previews

White Background

 

This preview shows how the Yxy color 0.8470, 0.3656, 0.3292 looks on a white background.

The color contrast ratio for these colors is 17.97, which passes the AAA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for all text sizes. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the Yxy color 0.8470, 0.3656, 0.3292 looks on a black background.

The color contrast ratio for these colors is 1.17, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

Yxy 0.8470, 0.3656, 0.3292 Background

 

This preview shows how black text looks on a background with the Yxy color 0.8470, 0.3656, 0.3292.

 

This preview shows how white text looks on a background with the Yxy color 0.8470, 0.3656, 0.3292.

Color Blindness Simulation


Dichromacy

Original Color
0.8421, 0.3680, 0.3292
Protanopia
0.8649, 0.3215, 0.3359
Deuteranopia
0.8439, 0.3406, 0.3426
Tritanopia
0.8495, 0.3580, 0.3168

Trichromacy

Original Color
0.8421, 0.3680, 0.3292
Protanomaly
0.8476, 0.3361, 0.3358
Deuteranomaly
0.8337, 0.3516, 0.3357
Tritanomaly
0.8458, 0.3630, 0.3229

Monochromacy

Original Color
0.8421, 0.3680, 0.3292
Achromatopsia
0.8568, 0.3127, 0.3290
Achromatomaly
0.8514, 0.3315, 0.3291
Advertisment

CSS Examples


The CSS property to change the color of the text to Yxy 0.8470, 0.3656, 0.3292 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(31, 20, 20) }.

This example shows how text in the color rgb(31, 20, 20) looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px rgb(31, 20, 20) }.

Here you see how black text with a 4 pixel rgb(31, 20, 20) colored shadow looks like.

Border

This example shows the color as border, it can be applied via the CSS property "border" or "border-color".

The CSS property to change the border of an element to Yxy 0.8470, 0.3656, 0.3292 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid rgb(31, 20, 20) }.

If only the border color should be changed .border{ border-color:rgb(31, 20, 20) } can be used.

Here you see how a box with a 4 pixel rgb(31, 20, 20) colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px rgb(31, 20, 20); -webkit-box-shadow:4px 4px 4px 4px rgb(31, 20, 20); box-shadow:4px 4px 4px 4px rgb(31, 20, 20) }.

Background

The CSS property to change the background color of an element to Yxy 0.8470, 0.3656, 0.3292 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(31, 20, 20) }.

If only the background color should be changed .background{ background-color:rgb(31, 20, 20) } can be used.

This example shows the color as background, it is applied via the CSS property "background".

To optimize and compress your CSS code, you can use our online CSS compressor and optimizer based on csstidy. If you want to create a linear gradient as background or border, check our CSS Gradient Generator.

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "1F1414", into the input field and click on convert. The result will be in the section Color Conversions, and the following sections will provide you with further details on the color.

Some color formats use the same notation, and the conversion will guess the composition of the search query. As an example, if you try to convert the string "0°, 34%, 12%" it could be an HSV or HSL color, the conversion will assume HSL in this case.

As this could lead to wrong conversions, you can define which format you are passing by wrapping your color string in brackets with the format in front. The search string "HSV(0°, 34%, 12%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(7.65, 5.41, 1.96)", "CIELCH(8, 5.750, 19.923)", "YXY(0.8470, 0.3656, 0.3292)" and "CMYK(0.00, 0.34, 0.34, 0.88)".


Advertisment