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
Hex171F1E
RGB23, 31, 30
RGB Percent9%, 12%, 12%
CMY0.9098, 0.8784, 0.8824
CMYK0.26, 0.00, 0.03, 0.88
HSL172°, 15%, 11%
HSV172°, 26%, 12%
XYZ1.0777, 1.2559, 1.4139
Conversions Part 2
FormatColor
RYB23, 27, 31
Decimal1515294
CIELab10.96, -3.89, -0.52
CIELCh11, 3.928, 187.619
Yxy1.2559, 0.2876, 0.3351
Android (android.graphics.Color)4279705374 (0xFF171F1E)
YUV28.4940, 0.7425, -4.8182

Details

The YUV color 28.4940, 0.7425, -4.8182 is a dark color, and the websafe version is hex 333333. A complement of this color would be 25.5060, -0.7425, 4.8182, and the grayscale version is 28.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 72.1950, 0.8899, -5.4330, and 0.0000, 0.0000, 0.0000 is the 20% darker color. If you saturate the color by 10%, you get 27.5970, 1.1847, -6.6626, and if you desaturate by 10%, it is 29.3910, 0.3002, -2.9739.

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 28.4940, 0.7425, -4.8182 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 28.4940, 0.7425, -4.8182 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%.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.253.2060, 0.8844, -3.6887The Color 253.2060, 0.8844, -3.6887.227.8960, 1.0373, -6.0478The Color 227.8960, 1.0373, -6.0478.199.8960, 1.0373, -6.0478The Color 199.8960, 1.0373, -6.0478.172.7820, 0.6005, -5.9478The Color 172.7820, 0.6005, -5.9478.145.8960, 1.0373, -6.0478The Color 145.8960, 1.0373, -6.0478.120.1950, 0.8899, -5.4330The Color 120.1950, 0.8899, -5.4330.95.7820, 0.6005, -5.9478The Color 95.7820, 0.6005, -5.9478.72.1950, 0.8899, -5.4330The Color 72.1950, 0.8899, -5.4330.49.4940, 0.7425, -4.8182The Color 49.4940, 0.7425, -4.8182.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.4.6790, 0.1583, -4.1035The Color 4.6790, 0.1583, -4.1035.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.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.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.21.2750, 2.8224, -18.6582The Color 21.2750, 2.8224, -18.6582.21.5740, 2.6750, -18.0434The Color 21.5740, 2.6750, -18.0434.22.5850, 2.6696, -16.2990The Color 22.5850, 2.6696, -16.2990.23.4820, 2.2274, -14.4547The Color 23.4820, 2.2274, -14.4547.24.6780, 1.6377, -11.9956The Color 24.6780, 1.6377, -11.9956.25.6890, 1.6323, -10.2513The Color 25.6890, 1.6323, -10.2513.26.5860, 1.1901, -8.4069The Color 26.5860, 1.1901, -8.4069.27.5970, 1.1847, -6.6626The Color 27.5970, 1.1847, -6.6626.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.37.2080, -2.0745, 12.0956The Color 37.2080, -2.0745, 12.0956.36.3110, -1.6323, 10.2513The Color 36.3110, -1.6323, 10.2513.35.4140, -1.1901, 8.4069The Color 35.4140, -1.1901, 8.4069.34.4030, -1.1847, 6.6626The Color 34.4030, -1.1847, 6.6626.33.5060, -0.7425, 4.8182The Color 33.5060, -0.7425, 4.8182.32.3100, -0.1528, 2.3591The Color 32.3100, -0.1528, 2.3591.31.2990, -0.1474, 0.6148The Color 31.2990, -0.1474, 0.6148.30.4020, 0.2948, -1.2296The Color 30.4020, 0.2948, -1.2296.29.3910, 0.3002, -2.9739The Color 29.3910, 0.3002, -2.9739.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.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.7500, -0.8627, -3.2887The Color 28.7500, -0.8627, -3.2887.28.8360, 2.0529, -5.1182The Color 28.8360, 2.0529, -5.1182.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.28.7500, -0.8627, -3.2887The Color 28.7500, -0.8627, -3.2887.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.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.29.7400, -2.3368, 2.8590The Color 29.7400, -2.3368, 2.8590.30.1680, 1.8892, 0.7297The Color 30.1680, 1.8892, 0.7297.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.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.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.25.5060, -0.7425, 4.8182The Color 25.5060, -0.7425, 4.8182.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.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.29.8650, -1.9054, 4.5034The Color 29.8650, -1.9054, 4.5034.30.1360, 0.4260, 3.3887The Color 30.1360, 0.4260, 3.3887.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.29.8650, -1.9054, 4.5034The Color 29.8650, -1.9054, 4.5034.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.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.29.0280, -2.4788, 1.7294The Color 29.0280, -2.4788, 1.7294.30.2070, -0.5951, 4.2035The Color 30.2070, -0.5951, 4.2035.29.0860, 2.9156, -1.8294The Color 29.0860, 2.9156, -1.8294.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.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.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.29.4520, -2.1948, 3.9886The Color 29.4520, -2.1948, 3.9886.30.2070, -0.5951, 4.2035The Color 30.2070, -0.5951, 4.2035.28.6620, 2.6316, -4.0886The Color 28.6620, 2.6316, -4.0886.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.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.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.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.4020, 0.2948, -1.2296The Color 19.4020, 0.2948, -1.2296.27.9950, -2.4625, -3.5036The Color 27.9950, -2.4625, -3.5036.39.9890, 0.0054, -1.7444The Color 39.9890, 0.0054, -1.7444.28.4940, 0.7425, -4.8182The Color 28.4940, 0.7425, -4.8182.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#171F1E

Previews

White Background

 

This preview shows how the YUV color 28.4940, 0.7425, -4.8182 looks on a white background.

The color contrast ratio for these colors is 16.78, 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 28.4940, 0.7425, -4.8182 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 28.4940, 0.7425, -4.8182 Background

 

This preview shows how black text looks on a background with the YUV color 28.4940, 0.7425, -4.8182.

 

This preview shows how white text looks on a background with the YUV color 28.4940, 0.7425, -4.8182.

Color Blindness Simulation


Dichromacy

Original Color
28.4940, 0.7425, -4.8182
Protanopia
29.2990, -0.1474, 0.6148
Deuteranopia
29.5380, 0.7208, 2.1592
Tritanopia
29.1350, 1.9054, -4.5034

Trichromacy

Original Color
28.4940, 0.7425, -4.8182
Protanomaly
28.9890, 0.0054, -1.7444
Deuteranomaly
29.2280, 0.8736, -0.2000
Tritanomaly
29.0210, 1.4686, -4.4034

Monochromacy

Original Color
28.4940, 0.7425, -4.8182
Achromatopsia
28.0000, 0.0000, 0.0000
Achromatomaly
28.1030, 0.4422, -1.8443

CSS Examples


The CSS property to change the color of the text to YUV 28.4940, 0.7425, -4.8182 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(23, 31, 30) }.

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

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

Here you see how black text with a 4 pixel rgb(23, 31, 30) 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 28.4940, 0.7425, -4.8182 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(23, 31, 30) }.

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

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

Background

The CSS property to change the background color of an element to YUV 28.4940, 0.7425, -4.8182 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(23, 31, 30) }.

If only the background color should be changed .background{ background-color:rgb(23, 31, 30) } 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, "171F1E", 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 "172°, 26%, 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(172°, 26%, 12%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(10.96, -3.89, -0.52)", "CIELCH(11, 3.928, 187.619)", "YXY(1.2559, 0.2876, 0.3351)" and "CMYK(0.26, 0.00, 0.03, 0.88)".


    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.