Converting Colors


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
Hex152016
RGB21, 32, 22
RGB Percent8%, 13%, 9%
CMY0.9176, 0.8745, 0.9137
CMYK0.34, 0.00, 0.31, 0.87
HSL125°, 21%, 10%
HSV125°, 34%, 13%
XYZ0.9706, 1.2504, 0.9492
Conversions Part 2
FormatColor
RYB21, 31, 32
Decimal1384470
CIELab10.92, -7.57, 5.26
CIELCh11, 9.220, 145.240
Yxy1.2504, 0.3062, 0.3944
Android (android.graphics.Color)4279574550 (0xFF152016)
YUV27.5710, -2.7465, -5.7628

Details

The YUV color 27.5710, -2.7465, -5.7628 is a dark color, and the websafe version is hex 333333. A complement of this color would be 25.4290, 2.7465, 5.7628, and the grayscale version is 28.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 71.0440, -3.4727, -6.1776, and 0.0000, 0.0000, 0.0000 is the 20% darker color. If you saturate the color by 10%, you get 26.3320, -3.6147, -7.3072, and if you desaturate by 10%, it is 28.8100, -1.8783, -4.2184.

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 YUV color 27.5710, -2.7465, -5.7628 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 YUV color 27.5710, -2.7465, -5.7628 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%.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.251.6960, -2.3151, -4.1184The Color 251.6960, -2.3151, -4.1184.226.9190, -3.9041, -7.8220The Color 226.9190, -3.9041, -7.8220.198.9190, -3.9041, -7.8220The Color 198.9190, -3.9041, -7.8220.171.3320, -3.6147, -7.3072The Color 171.3320, -3.6147, -7.3072.145.3320, -3.6147, -7.3072The Color 145.3320, -3.6147, -7.3072.119.3320, -3.6147, -7.3072The Color 119.3320, -3.6147, -7.3072.94.7450, -3.3253, -6.7924The Color 94.7450, -3.3253, -6.7924.71.0440, -3.4727, -6.1776The Color 71.0440, -3.4727, -6.1776.48.4570, -3.1833, -5.6628The Color 48.4570, -3.1833, -5.6628.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.3.5220, -1.7363, -3.0888The Color 3.5220, -1.7363, -3.0888.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.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.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.19.1260, -7.9501, -16.7735The Color 19.1260, -7.9501, -16.7735.19.9520, -7.3713, -15.7439The Color 19.9520, -7.3713, -15.7439.21.0770, -6.9400, -14.0995The Color 21.0770, -6.9400, -14.0995.22.3160, -6.0718, -12.5551The Color 22.3160, -6.0718, -12.5551.23.5550, -5.2036, -11.0107The Color 23.5550, -5.2036, -11.0107.25.0930, -4.4828, -8.8516The Color 25.0930, -4.4828, -8.8516.26.3320, -3.6147, -7.3072The Color 26.3320, -3.6147, -7.3072.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.39.2060, 4.3354, 9.4663The Color 39.2060, 4.3354, 9.4663.37.9670, 3.4673, 7.9219The Color 37.9670, 3.4673, 7.9219.36.4290, 2.7465, 5.7628The Color 36.4290, 2.7465, 5.7628.35.1900, 1.8783, 4.2184The Color 35.1900, 1.8783, 4.2184.34.0650, 1.4470, 2.5740The Color 34.0650, 1.4470, 2.5740.32.8260, 0.5788, 1.0296The Color 32.8260, 0.5788, 1.0296.31.5870, -0.2894, -0.5148The Color 31.5870, -0.2894, -0.5148.30.0490, -1.0102, -2.6740The Color 30.0490, -1.0102, -2.6740.28.8100, -1.8783, -4.2184The Color 28.8100, -1.8783, -4.2184.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.Saturation Gradient

🖌️ View as Color Bucket

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.28.5070, -5.6730, -0.4446The Color 28.5070, -5.6730, -0.4446.26.7490, 0.6167, -11.1809The Color 26.7490, 0.6167, -11.1809.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.28.5070, -5.6730, -0.4446The Color 28.5070, -5.6730, -0.4446.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.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.29.9690, -2.9427, 10.5512The Color 29.9690, -2.9427, 10.5512.28.3780, 6.7156, -7.3475The Color 28.3780, 6.7156, -7.3475.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.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.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.25.4290, 2.7465, 5.7628The Color 25.4290, 2.7465, 5.7628.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.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.30.4680, 0.2623, 9.2366The Color 30.4680, 0.2623, 9.2366.29.7810, 5.5310, -0.6849The Color 29.7810, 5.5310, -0.6849.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.30.4680, 0.2623, 9.2366The Color 30.4680, 0.2623, 9.2366.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.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.29.3880, -5.1213, 9.3067The Color 29.3880, -5.1213, 9.3067.30.2440, 3.3307, 5.0480The Color 30.2440, 3.3307, 5.0480.26.8180, 6.0057, -12.9954The Color 26.8180, 6.0057, -12.9954.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.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.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.30.1970, -2.0691, 10.3512The Color 30.1970, -2.0691, 10.3512.30.2440, 3.3307, 5.0480The Color 30.2440, 3.3307, 5.0480.26.3080, 2.8062, -13.4251The Color 26.3080, 2.8062, -13.4251.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.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.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.20.0000, 0.0000, 0.0000The Color 20.0000, 0.0000, 0.0000.148.0000, 0.0000, 0.0000The Color 148.0000, 0.0000, 0.0000.19.1740, -0.5788, -1.0296The Color 19.1740, -0.5788, -1.0296.30.4470, -4.6574, 0.4850The Color 30.4470, -4.6574, 0.4850.39.3480, -1.1576, -2.0592The Color 39.3480, -1.1576, -2.0592.27.5710, -2.7465, -5.7628The Color 27.5710, -2.7465, -5.7628.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#152016

Previews

White Background

 

This preview shows how the YUV color 27.5710, -2.7465, -5.7628 looks on a white background.

The color contrast ratio for these colors is 16.80, 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 YUV color 27.5710, -2.7465, -5.7628 looks on a black background.

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

YUV 27.5710, -2.7465, -5.7628 Background

 

This preview shows how black text looks on a background with the YUV color 27.5710, -2.7465, -5.7628.

 

This preview shows how white text looks on a background with the YUV color 27.5710, -2.7465, -5.7628.

Color Blindness Simulation


Dichromacy

Original Color
27.5710, -2.7465, -5.7628
Protanopia
28.9850, -3.9366, 2.6442
Deuteranopia
29.2240, -3.0684, 4.1886
Tritanopia
28.8360, 2.0529, -5.1182

Trichromacy

Original Color
27.5710, -2.7465, -5.7628
Protanomaly
28.3760, -3.6364, -0.3298
Deuteranomaly
28.3160, -2.6208, 0.5999
Tritanomaly
28.0810, 0.4531, -5.3330

Monochromacy

Original Color
27.5710, -2.7465, -5.7628
Achromatopsia
28.0000, 0.0000, 0.0000
Achromatomaly
27.4620, -0.7208, -2.1592

CSS Examples


The CSS property to change the color of the text to YUV 27.5710, -2.7465, -5.7628 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(21, 32, 22) }.

This example shows how text in the color rgb(21, 32, 22) looks like.

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

Here you see how black text with a 4 pixel rgb(21, 32, 22) 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 YUV 27.5710, -2.7465, -5.7628 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(21, 32, 22) }.

If only the border color should be changed .border{ border-color:rgb(21, 32, 22) } can be used.

Here you see how a box with a 4 pixel rgb(21, 32, 22) 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(21, 32, 22); -webkit-box-shadow:4px 4px 4px 4px rgb(21, 32, 22); box-shadow:4px 4px 4px 4px rgb(21, 32, 22) }.

Background

The CSS property to change the background color of an element to YUV 27.5710, -2.7465, -5.7628 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(21, 32, 22) }.

If only the background color should be changed .background{ background-color:rgb(21, 32, 22) } 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, "152016", 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 "125°, 34%, 13%" 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(125°, 34%, 13%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(10.92, -7.57, 5.26)", "CIELCH(11, 9.220, 145.240)", "YXY(1.2504, 0.3062, 0.3944)" and "CMYK(0.34, 0.00, 0.31, 0.87)".


    FontExplorer X - Makes Everyone an Expert

Advertisment: These links are affiliate (commission) links. If you click on such a link and buy something on that website, I get a commission. For you, the price does not change.