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
Hex031D1D
RGB3, 29, 29
RGB Percent1%, 11%, 11%
CMY0.9882, 0.8863, 0.8863
CMYK0.90, 0.00, 0.00, 0.89
HSL180°, 81%, 6%
HSV180°, 90%, 11%
XYZ0.6987, 0.9868, 1.3160
Conversions Part 2
FormatColor
RYB3, 16, 29
Decimal204061
CIELab8.88, -9.66, -3.00
CIELCh9, 10.114, 197.254
Yxy0.9868, 0.2328, 0.3288
Android (android.graphics.Color)4278394141 (0xFF031D1D)
YUV21.2260, 3.8326, -15.9842

Details

The XYZ color 0.6987, 0.9868, 1.3160 is a dark color, and the websafe version is hex 003333. A complement of this color would be 0.5558, 0.3330, 0.1212, and the grayscale version is 0.7226, 0.7603, 0.8279.

A 20% lighter version of the original color is 4.7245, 5.8373, 7.0086, and 0.0000, 0.0000, 0.0000 is the 20% darker color. If you saturate the color by 10%, you get 0.6624, 0.9681, 1.3143, and if you desaturate by 10%, it is 0.7350, 1.0056, 1.3177.

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 XYZ color 0.6987, 0.9868, 1.3160 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 XYZ color 0.6987, 0.9868, 1.3160 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.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.87.0251, 97.1338, 110.6409The Color 87.0251, 97.1338, 110.6409.65.8441, 73.9122, 84.5500The Color 65.8441, 73.9122, 84.5500.48.4131, 54.7222, 62.9216The Color 48.4131, 54.7222, 62.9216.34.3667, 39.1794, 45.3372The Color 34.3667, 39.1794, 45.3372.23.3397, 26.8993, 31.3782The Color 23.3397, 26.8993, 31.3782.14.9666, 17.4976, 20.6262The Color 14.9666, 17.4976, 20.6262.8.8821, 10.5899, 12.6624The Color 8.8821, 10.5899, 12.6624.4.7209, 5.7918, 7.0685The Color 4.7209, 5.7918, 7.0685.2.1175, 2.7189, 3.4259The Color 2.1175, 2.7189, 3.4259.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.0748The Color 0.0000, 0.0000, 0.0748.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.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.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.0.6611, 0.9675, 1.3143The Color 0.6611, 0.9675, 1.3143.0.6624, 0.9681, 1.3143The Color 0.6624, 0.9681, 1.3143.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.1.1708, 1.2302, 1.3382The Color 1.1708, 1.2302, 1.3382.1.0924, 1.1898, 1.3345The Color 1.0924, 1.1898, 1.3345.1.0215, 1.1532, 1.3312The Color 1.0215, 1.1532, 1.3312.0.9579, 1.1204, 1.3282The Color 0.9579, 1.1204, 1.3282.0.9014, 1.0913, 1.3255The Color 0.9014, 1.0913, 1.3255.0.8517, 1.0657, 1.3232The Color 0.8517, 1.0657, 1.3232.0.8086, 1.0435, 1.3212The Color 0.8086, 1.0435, 1.3212.0.7713, 1.0243, 1.3194The Color 0.7713, 1.0243, 1.3194.0.7350, 1.0056, 1.3177The Color 0.7350, 1.0056, 1.3177.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.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.0.6937, 0.9868, 0.9145The Color 0.6937, 0.9868, 0.9145.0.7669, 0.9868, 1.7347The Color 0.7669, 0.9868, 1.7347.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.0.6937, 0.9868, 0.9145The Color 0.6937, 0.9868, 0.9145.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.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.0.9977, 0.9868, 0.3809The Color 0.9977, 0.9868, 0.3809.1.1466, 0.9868, 1.6772The Color 1.1466, 0.9868, 1.6772.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.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.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.0.5558, 0.3330, 0.1212The Color 0.5558, 0.3330, 0.1212.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.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.1.1298, 0.9868, 0.5512The Color 1.1298, 0.9868, 0.5512.1.2213, 0.9868, 1.2510The Color 1.2213, 0.9868, 1.2510.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.1.1298, 0.9868, 0.5512The Color 1.1298, 0.9868, 0.5512.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.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.0.8614, 0.9868, 0.3952The Color 0.8614, 0.9868, 0.3952.1.2148, 0.9868, 0.8608The Color 1.2148, 0.9868, 0.8608.1.0189, 0.9868, 1.9759The Color 1.0189, 0.9868, 1.9759.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.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.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.1.0443, 0.9868, 0.4184The Color 1.0443, 0.9868, 0.4184.1.2148, 0.9868, 0.8608The Color 1.2148, 0.9868, 0.8608.0.8390, 0.9868, 1.9387The Color 0.8390, 0.9868, 1.9387.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.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.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.0.6838, 0.7194, 0.7835The Color 0.6838, 0.7194, 0.7835.28.1063, 29.5700, 32.2017The Color 28.1063, 29.5700, 32.2017.0.5663, 0.6588, 0.7780The Color 0.5663, 0.6588, 0.7780.0.4988, 0.9075, 0.2351The Color 0.4988, 0.9075, 0.2351.1.5318, 1.7896, 2.1196The Color 1.5318, 1.7896, 2.1196.0.6987, 0.9868, 1.3160The Color 0.6987, 0.9868, 1.3160.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#031D1D

Previews

White Background

 

This preview shows how the XYZ color 0.6987, 0.9868, 1.3160 looks on a white background.

The color contrast ratio for these colors is 17.54, 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 XYZ color 0.6987, 0.9868, 1.3160 looks on a black background.

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

XYZ 0.6987, 0.9868, 1.3160 Background

 

This preview shows how black text looks on a background with the XYZ color 0.6987, 0.9868, 1.3160.

 

This preview shows how white text looks on a background with the XYZ color 0.6987, 0.9868, 1.3160.

Color Blindness Simulation


Dichromacy

Original Color
0.6987, 0.9868, 1.3160
Protanopia
0.9932, 1.0375, 1.1848
Deuteranopia
1.0340, 1.0220, 1.3711
Tritanopia
0.7618, 1.0164, 1.4524

Trichromacy

Original Color
0.6987, 0.9868, 1.3160
Protanomaly
0.8510, 0.9963, 1.2461
Deuteranomaly
0.8532, 0.9611, 1.3688
Tritanomaly
0.7363, 1.0047, 1.3834

Monochromacy

Original Color
0.6987, 0.9868, 1.3160
Achromatopsia
0.7128, 0.7499, 0.8166
Achromatomaly
0.6726, 0.8126, 0.9855

CSS Examples


The CSS property to change the color of the text to XYZ 0.6987, 0.9868, 1.3160 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(3, 29, 29) }.

This example shows how text in the color rgb(3, 29, 29) looks like.

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

Here you see how black text with a 4 pixel rgb(3, 29, 29) 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 XYZ 0.6987, 0.9868, 1.3160 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(3, 29, 29) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 0.6987, 0.9868, 1.3160 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(3, 29, 29) }.

If only the background color should be changed .background{ background-color:rgb(3, 29, 29) } 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, "031D1D", 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 "180°, 90%, 11%" 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(180°, 90%, 11%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(8.88, -9.66, -3.00)", "CIELCH(9, 10.114, 197.254)", "YXY(0.9868, 0.2328, 0.3288)" and "CMYK(0.90, 0.00, 0.00, 0.89)".