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
Hex00642D
RGB0, 100, 45
RGB Percent0%, 39%, 18%
CMY1.0000, 0.6082, 0.8229
CMYK1.00, 0.00, 0.55, 0.61
HSL147°, 100%, 20%
HSV147°, 100%, 39%
XYZ2.5232, 7.9986, 3.9095
Conversions Part 2
FormatColor
RYB0, 69, 100
Decimal25645
CIELab33.98, -66.27, 20.19
CIELCh34, 69.282, 163.056
Yxy7.9986, 0.1748, 0.5543
Android (android.graphics.Color)4278215725 (0xFF00642D)
YUV63.8300, -9.2832, -55.9789

Details

The XYZ color 2.5232, 7.9986, 3.9095 is a dark color, and the websafe version is hex 006633. A complement of this color would be 5.9300, 2.9781, 3.8462, and the grayscale version is 4.8609, 5.1140, 5.5692.

A 20% lighter version of the original color is 15.6142, 24.4944, 14.0301, and 1.2280, 2.4560, 0.4093 is the 20% darker color. If you saturate the color by 10%, you get 5.0259, 9.2890, 4.0268, and if you desaturate by 10%, it is 5.2637, 9.3986, 4.6266.

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 2.5232, 7.9986, 3.9095 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 2.5232, 7.9986, 3.9095 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%.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.117.8047, 175.7210, 147.2141The Color 117.8047, 175.7210, 147.2141.91.6571, 140.6874, 115.3976The Color 91.6571, 140.6874, 115.3976.69.6967, 110.6502, 88.5312The Color 69.6967, 110.6502, 88.5312.51.5580, 85.2250, 66.1962The Color 51.5580, 85.2250, 66.1962.36.8757, 64.0273, 47.9742The Color 36.8757, 64.0273, 47.9742.25.2845, 46.6728, 33.4466The Color 25.2845, 46.6728, 33.4466.16.4190, 32.7770, 22.1949The Color 16.4190, 32.7770, 22.1949.9.9139, 21.9557, 13.8005The Color 9.9139, 21.9557, 13.8005.5.4037, 13.8244, 7.8449The Color 5.4037, 13.8244, 7.8449.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.4406, 0.0000The Color 0.0000, 0.4406, 0.0000.0.0000, 1.7263, 0.2735The Color 0.0000, 1.7263, 0.2735.0.9070, 4.0941, 1.5758The Color 0.9070, 4.0941, 1.5758.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.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.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.5.0259, 9.2890, 4.0268The Color 5.0259, 9.2890, 4.0268.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.10.7985, 12.0842, 12.4570The Color 10.7985, 12.0842, 12.4570.9.6534, 11.5215, 11.1585The Color 9.6534, 11.5215, 11.1585.8.6510, 11.0303, 9.9561The Color 8.6510, 11.0303, 9.9561.7.7852, 10.6076, 8.8474The Color 7.7852, 10.6076, 8.8474.7.0498, 10.2502, 7.8302The Color 7.0498, 10.2502, 7.8302.6.4379, 9.9547, 6.9021The Color 6.4379, 9.9547, 6.9021.5.9420, 9.7172, 6.0606The Color 5.9420, 9.7172, 6.0606.5.5538, 9.5334, 5.3030The Color 5.5538, 9.5334, 5.3030.5.2637, 9.3986, 4.6266The Color 5.2637, 9.3986, 4.6266.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.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.3.6139, 7.9986, 0.5567The Color 3.6139, 7.9986, 0.5567.2.4620, 7.9986, 14.3685The Color 2.4620, 7.9986, 14.3685.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.3.6139, 7.9986, 0.5567The Color 3.6139, 7.9986, 0.5567.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.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.14.3200, 7.9986, 0.7891The Color 14.3200, 7.9986, 0.7891.9.3827, 7.9986, 49.3839The Color 9.3827, 7.9986, 49.3839.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.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.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.5.9300, 2.9781, 3.8462The Color 5.9300, 2.9781, 3.8462.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.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.17.2199, 7.9986, 4.7735The Color 17.2199, 7.9986, 4.7735.13.7899, 7.9986, 34.8411The Color 13.7899, 7.9986, 34.8411.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.17.2199, 7.9986, 4.7735The Color 17.2199, 7.9986, 4.7735.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.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.9.9467, 7.9986, 0.0000The Color 9.9467, 7.9986, 0.0000.16.9987, 7.9986, 16.3777The Color 16.9987, 7.9986, 16.3777.5.6589, 7.9986, 48.2201The Color 5.6589, 7.9986, 48.2201.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.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.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.15.5560, 7.9986, 1.5414The Color 15.5560, 7.9986, 1.5414.16.9987, 7.9986, 16.3777The Color 16.9987, 7.9986, 16.3777.2.9630, 7.9986, 25.9265The Color 2.9630, 7.9986, 25.9265.2.5232, 7.9986, 3.9095The Color 2.5232, 7.9986, 3.9095.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.5.0259, 9.2890, 4.0268The Color 5.0259, 9.2890, 4.0268.5.2251, 5.4972, 5.9864The Color 5.2251, 5.4972, 5.9864.51.1593, 53.8236, 58.6138The Color 51.1593, 53.8236, 58.6138.3.5861, 4.6920, 4.1114The Color 3.5861, 4.6920, 4.1114.6.1222, 9.9092, 1.5900The Color 6.1222, 9.9092, 1.5900.15.0496, 19.3015, 17.3070The Color 15.0496, 19.3015, 17.3070.5.0259, 9.2890, 4.0268The Color 5.0259, 9.2890, 4.0268.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#00642D

Previews

White Background

 

This preview shows how the XYZ color 2.5232, 7.9986, 3.9095 looks on a white background.

The color contrast ratio for these colors is 7.34, 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 2.5232, 7.9986, 3.9095 looks on a black background.

The color contrast ratio for these colors is 2.86, 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 2.5232, 7.9986, 3.9095 Background

 

This preview shows how black text looks on a background with the XYZ color 2.5232, 7.9986, 3.9095.

 

This preview shows how white text looks on a background with the XYZ color 2.5232, 7.9986, 3.9095.

Color Blindness Simulation


Dichromacy

Original Color
5.0308, 9.3038, 4.0133
Protanopia
8.4473, 9.2486, 3.4378
Deuteranopia
9.4187, 9.2681, 4.3101
Tritanopia
7.2377, 9.3961, 14.0025

Trichromacy

Original Color
5.0308, 9.3038, 4.0133
Protanomaly
6.0406, 8.6172, 3.6304
Deuteranomaly
6.4206, 8.5514, 4.1085
Tritanomaly
6.0690, 9.1665, 9.2340

Monochromacy

Original Color
5.0308, 9.3038, 4.0133
Achromatopsia
4.8732, 5.1269, 5.5832
Achromatomaly
4.3068, 6.0746, 4.8164

CSS Examples


The CSS property to change the color of the text to XYZ 2.5232, 7.9986, 3.9095 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(0, 100, 45) }.

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

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

Here you see how black text with a 4 pixel rgb(0, 100, 45) 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 2.5232, 7.9986, 3.9095 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, 100, 45) }.

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

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

Background

The CSS property to change the background color of an element to XYZ 2.5232, 7.9986, 3.9095 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(0, 100, 45) }.

If only the background color should be changed .background{ background-color:rgb(0, 100, 45) } 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, "00642D", 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 "147°, 100%, 39%" 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(147°, 100%, 39%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(33.98, -66.27, 20.19)", "CIELCH(34, 69.282, 163.056)", "YXY(7.9986, 0.1748, 0.5543)" and "CMYK(1.00, 0.00, 0.55, 0.61)".


    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.