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
Hex000C55
RGB0, 12, 85
RGB Percent0%, 5%, 33%
CMY1.0000, 0.9538, 0.6649
CMYK1.00, 0.86, 0.00, 0.66
HSL232°, 100%, 17%
HSV232°, 100%, 34%
XYZ0.0000, 0.0000, 8.6904
Conversions Part 2
FormatColor
RYB0, 11, 85
Decimal3157
CIELab0.00, 0.00, -58.52
CIELCh0, 58.524, 270.000
Yxy0.0000, 0.0000, 0.0000
Android (android.graphics.Color)4278193237 (0xFF000C55)
YUV16.7340, 33.6551, -14.6757

Details

The XYZ color 0.0000, 0.0000, 8.6904 is a dark color, and the websafe version is hex 330066. A complement of this color would be 6.2148, 6.8062, 0.9862, and the grayscale version is 0.5067, 0.5331, 0.5806.

A 20% lighter version of the original color is 7.9431, 5.5397, 23.9432, and 0.3824, 0.2051, 1.8531 is the 20% darker color. If you saturate the color by 10%, you get 1.7870, 0.9211, 8.7740, and if you desaturate by 10%, it is 2.0006, 1.1895, 8.8146.

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.0000, 0.0000, 8.6904 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.0000, 0.0000, 8.6904 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.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.72.5240, 76.3034, 191.1834The Color 72.5240, 76.3034, 191.1834.53.8739, 56.6813, 153.0581The Color 53.8739, 56.6813, 153.0581.38.7311, 40.7494, 120.3714The Color 38.7311, 40.7494, 120.3714.26.7304, 28.1233, 92.7048The Color 26.7304, 28.1233, 92.7048.17.5064, 18.4187, 69.6399The Color 17.5064, 18.4187, 69.6399.10.6937, 11.2510, 50.7580The Color 10.6937, 11.2510, 50.7580.5.9270, 6.2359, 35.6407The Color 5.9270, 6.2359, 35.6407.2.8410, 2.9891, 23.8693The Color 2.8410, 2.9891, 23.8693.1.0702, 1.1260, 15.0254The Color 1.0702, 1.1260, 15.0254.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.4754The Color 0.0000, 0.0000, 0.4754.0.0000, 0.0000, 1.8729The Color 0.0000, 0.0000, 1.8729.0.0000, 0.0000, 4.4458The Color 0.0000, 0.0000, 4.4458.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.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.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.1.7870, 0.9211, 8.7740The Color 1.7870, 0.9211, 8.7740.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.7.4427, 7.6994, 9.7843The Color 7.4427, 7.6994, 9.7843.6.3035, 6.3772, 9.5891The Color 6.3035, 6.3772, 9.5891.5.3083, 5.2133, 9.4169The Color 5.3083, 5.2133, 9.4169.4.4510, 4.2019, 9.2669The Color 4.4510, 4.2019, 9.2669.3.7257, 3.3365, 9.1381The Color 3.7257, 3.3365, 9.1381.3.1257, 2.6103, 9.0295The Color 3.1257, 2.6103, 9.0295.2.6438, 2.0160, 8.9402The Color 2.6438, 2.0160, 8.9402.2.2720, 1.5455, 8.8690The Color 2.2720, 1.5455, 8.8690.2.0006, 1.1895, 8.8146The Color 2.0006, 1.1895, 8.8146.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.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.0000, 0.0000, 6.5261The Color 0.0000, 0.0000, 6.5261.0.7143, 0.0000, 6.5261The Color 0.7143, 0.0000, 6.5261.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.0.0000, 0.0000, 6.5261The Color 0.0000, 0.0000, 6.5261.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.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.1.3024, 0.0000, 0.0000The Color 1.3024, 0.0000, 0.0000.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.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.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.6.2148, 6.8062, 0.9862The Color 6.2148, 6.8062, 0.9862.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.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.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.7143, 0.0000, 0.0000The Color 0.7143, 0.0000, 0.0000.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.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.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.1.5756, 0.0000, 0.0000The Color 1.5756, 0.0000, 0.0000.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.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.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.1.1205, 0.0000, 3.7732The Color 1.1205, 0.0000, 3.7732.0.0000, 0.0000, 8.6904The Color 0.0000, 0.0000, 8.6904.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.1.7870, 0.9211, 8.7740The Color 1.7870, 0.9211, 8.7740.3.7718, 3.9682, 4.3214The Color 3.7718, 3.9682, 4.3214.45.3388, 47.7000, 51.9453The Color 45.3388, 47.7000, 51.9453.2.1559, 2.0907, 4.0441The Color 2.1559, 2.0907, 4.0441.4.4755, 7.0459, 7.3652The Color 4.4755, 7.0459, 7.3652.9.2295, 9.0317, 16.6445The Color 9.2295, 9.0317, 16.6445.1.7870, 0.9211, 8.7740The Color 1.7870, 0.9211, 8.7740.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#000C55

Previews

White Background

 

This preview shows how the XYZ color 0.0000, 0.0000, 8.6904 looks on a white background.

The color contrast ratio for these colors is 17.74, 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.0000, 0.0000, 8.6904 looks on a black background.

The color contrast ratio for these colors is 1.18, 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.0000, 0.0000, 8.6904 Background

 

This preview shows how black text looks on a background with the XYZ color 0.0000, 0.0000, 8.6904.

 

This preview shows how white text looks on a background with the XYZ color 0.0000, 0.0000, 8.6904.

Color Blindness Simulation


Dichromacy

Original Color
1.7712, 0.9188, 8.6783
Protanopia
1.0590, 1.0146, 3.7545
Deuteranopia
0.9283, 1.0357, 2.8403
Tritanopia
0.7250, 1.0328, 1.5276

Trichromacy

Original Color
1.7712, 0.9188, 8.6783
Protanomaly
1.2515, 0.9297, 5.2677
Deuteranomaly
1.1292, 0.9107, 4.5312
Tritanomaly
0.9039, 0.8518, 3.2487

Monochromacy

Original Color
1.7712, 0.9188, 8.6783
Achromatopsia
0.5328, 0.5605, 0.6104
Achromatomaly
0.7268, 0.5800, 2.2641

CSS Examples


The CSS property to change the color of the text to XYZ 0.0000, 0.0000, 8.6904 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(0, 12, 85) }.

This example shows how text in the color rgb(0, 12, 85) looks like.

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

Here you see how black text with a 4 pixel rgb(0, 12, 85) 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.0000, 0.0000, 8.6904 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(0, 12, 85) }.

If only the border color should be changed .border{ border-color:rgb(0, 12, 85) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 0.0000, 0.0000, 8.6904 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(0, 12, 85) }.

If only the background color should be changed .background{ background-color:rgb(0, 12, 85) } 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, "000C55", 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 "232°, 100%, 34%" 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(232°, 100%, 34%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(0.00, 0.00, -58.52)", "CIELCH(0, 58.524, 270.000)", "YXY(0.0000, 0.0000, 0.0000)" and "CMYK(1.00, 0.86, 0.00, 0.66)".