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 Decimal color 1515294 is a dark color, and the websafe version is hex 333333. A complement of this color would be 2037528, and the grayscale version is 1842204.

A 20% lighter version of the original color is 4344650, and 0 is the 20% darker color. If you saturate the color by 10%, you get 1318686, and if you desaturate by 10%, it is 1711902.

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 Decimal color 1515294 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 Decimal color 1515294 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%.1515294The Color 1515294.16383999The Color 16383999.14542822The Color 14542822.12700618The Color 12700618.10924206The Color 10924206.9147796The Color 9147796.7502714The Color 7502714.5858145The Color 5858145.4344650The Color 4344650.2896947The Color 2896947.1515294The Color 1515294.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]1515294The Color 1515294.0The Color 0.1797The Color 1797.1515294The Color 1515294.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.1515294The Color 1515294.7963The Color 7963.73499The Color 73499.270108The Color 270108.466716The Color 466716.728860The Color 728860.925469The Color 925469.1122077The Color 1122077.1318686The Color 1318686.1515294The Color 1515294.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]1515294The Color 1515294.3350305The Color 3350305.3153697The Color 3153697.2957089The Color 2957089.2760480The Color 2760480.2563872The Color 2563872.2301728The Color 2301728.2105119The Color 2105119.1908511The Color 1908511.1711902The Color 1711902.1515294The Color 1515294.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.1646363The Color 1646363.1515297The Color 1515297.1515294The Color 1515294.1646363The Color 1646363.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.1515294The Color 1515294.2170137The Color 2170137.2039074The Color 2039074.1515294The Color 1515294.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.1515294The Color 1515294.2037528The Color 2037528.1515294The Color 1515294.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.2300954The Color 2300954.2235423The Color 2235423.1515294The Color 1515294.2300954The Color 2300954.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.1515294The Color 1515294.2039064The Color 2039064.2300957The Color 2300957.1776931The Color 1776931.1515294The Color 1515294.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.1515294The Color 1515294.2235417The Color 2235417.2300957The Color 2300957.1580578The Color 1580578.1515294The Color 1515294.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.1515294The Color 1515294.1315860The Color 1315860.9737364The Color 9737364.1184788The Color 1184788.1580823The Color 1580823.2500904The Color 2500904.1515294The Color 1515294.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 Decimal color 1515294 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 Decimal color 1515294 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/.

Decimal 1515294 Background

 

This preview shows how black text looks on a background with the Decimal color 1515294.

 

This preview shows how white text looks on a background with the Decimal color 1515294.

Color Blindness Simulation


Dichromacy

Original Color
1515294
Protanopia
1973533
Deuteranopia
2104351
Tritanopia
1580833

Trichromacy

Original Color
1515294
Protanomaly
1777181
Deuteranomaly
1907999
Tritanomaly
1580832

Monochromacy

Original Color
1515294
Achromatopsia
1842204
Achromatomaly
1711389

CSS Examples


The CSS property to change the color of the text to Decimal 1515294 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:#171F1E }.

This example shows how text in the color #171F1E looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px #171F1E }.

Here you see how black text with a 4 pixel #171F1E 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 Decimal 1515294 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid #171F1E }.

If only the border color should be changed .border{ border-color:#171F1E } can be used.

Here you see how a box with a 4 pixel #171F1E colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px #171F1E; -webkit-box-shadow:4px 4px 4px 4px #171F1E; box-shadow:4px 4px 4px 4px #171F1E }.

Background

The CSS property to change the background color of an element to Decimal 1515294 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:#171F1E }.

If only the background color should be changed .background{ background-color:#171F1E } 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.