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
Hex006E26
RGB0, 110, 38
RGB Percent0%, 43%, 15%
CMY1.0000, 0.5691, 0.8511
CMYK1.00, 0.00, 0.65, 0.57
HSL141°, 100%, 22%
HSV141°, 100%, 43%
XYZ5.8817, 11.2510, 3.6932
Conversions Part 2
FormatColor
RYB0, 82, 110
Decimal28198
CIELab40.00, -43.61, 31.81
CIELCh40, 53.980, 143.892
Yxy11.2510, 0.2824, 0.5402
Android (android.graphics.Color)4278218278 (0xFF006E26)
YUV68.9020, -15.2347, -60.4271

Details

The CIELCh color 40, 53.980, 143.892 is a dark color, and the websafe version is hex 006600. A complement of this color would be 23, 48.751, 347.136, and the grayscale version is 29, 0.005, 296.813.

A 20% lighter version of the original color is 60, 54.071, 143.781, and 21, 42.369, 137.083 is the 20% darker color. If you saturate the color by 10%, you get 40, 53.812, 143.712, and if you desaturate by 10%, it is 40, 50.176, 145.446.

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 CIELCh color 40, 53.980, 143.892 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 CIELCh color 40, 53.980, 143.892 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%.40, 53.980, 143.892The Color 40, 53.980, 143.892.100, 53.980, 143.892The Color 100, 53.980, 143.892.90, 53.980, 143.892The Color 90, 53.980, 143.892.80, 53.980, 143.892The Color 80, 53.980, 143.892.70, 53.980, 143.892The Color 70, 53.980, 143.892.60, 53.980, 143.892The Color 60, 53.980, 143.892.50, 53.980, 143.892The Color 50, 53.980, 143.892.40, 53.980, 143.892The Color 40, 53.980, 143.892.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]40, 53.980, 143.892The Color 40, 53.980, 143.892.0, 53.980, 143.892The Color 0, 53.980, 143.892.10, 53.980, 143.892The Color 10, 53.980, 143.892.20, 53.980, 143.892The Color 20, 53.980, 143.892.30, 53.980, 143.892The Color 30, 53.980, 143.892.40, 53.980, 143.892The Color 40, 53.980, 143.892.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.40, 53.980, 143.892The Color 40, 53.980, 143.892.40, 53.812, 143.712The Color 40, 53.812, 143.712.40, 53.980, 143.892The Color 40, 53.980, 143.892.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]40, 53.980, 143.892The Color 40, 53.980, 143.892.45, 6.248, 155.534The Color 45, 6.248, 155.534.44, 12.528, 154.737The Color 44, 12.528, 154.737.43, 18.767, 153.848The Color 43, 18.767, 153.848.43, 24.881, 152.840The Color 43, 24.881, 152.840.42, 30.774, 151.693The Color 42, 30.774, 151.693.41, 36.344, 150.388The Color 41, 36.344, 150.388.41, 41.488, 148.911The Color 41, 41.488, 148.911.40, 46.119, 147.259The Color 40, 46.119, 147.259.40, 50.176, 145.446The Color 40, 50.176, 145.446.40, 53.980, 143.892The Color 40, 53.980, 143.892.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

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.40, 53.980, 143.892The Color 40, 53.980, 143.892.23, 48.751, 347.136The Color 23, 48.751, 347.136.40, 53.980, 143.892The Color 40, 53.980, 143.892.Complementary

🖌️ 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.40, 53.980, 143.892The Color 40, 53.980, 143.892.40, 53.980, 13.892The Color 40, 53.980, 13.892.40, 53.980, 323.892The Color 40, 53.980, 323.892.40, 53.980, 193.892The Color 40, 53.980, 193.892.40, 53.980, 143.892The Color 40, 53.980, 143.892.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.40, 53.812, 143.712The Color 40, 53.812, 143.712.30, 0.005, 296.813The Color 30, 0.005, 296.813.80, 0.010, 296.813The Color 80, 0.010, 296.813.28, 15.736, 153.468The Color 28, 15.736, 153.468.42, 55.282, 120.739The Color 42, 55.282, 120.739.56, 23.259, 153.772The Color 56, 23.259, 153.772.40, 53.812, 143.712The Color 40, 53.812, 143.712.Sweetspot

🖌️ View as Color Bucket

SVG Images

A selection of SVG images using the hex version #006E26 of the current color.

#006E26

Previews

White Background

 

This preview shows how the CIELCh color 40, 53.980, 143.892 looks on a white background.

The color contrast ratio for these colors is 6.44, which passes the AA level of the Web Content Accessibility Guidelines (WCAG) 2.0 for any text size and the AAA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

Black Background

 

This preview shows how the CIELCh color 40, 53.980, 143.892 looks on a black background.

The color contrast ratio for these colors is 3.26, which passes the AA level for large text above 18pt. Details can be found at https://www.w3.org/TR/WCAG20/.

CIELCh 40, 53.980, 143.892 Background

 

This preview shows how black text looks on a background with the CIELCh color 40, 53.980, 143.892.

 

This preview shows how white text looks on a background with the CIELCh color 40, 53.980, 143.892.

Color Blindness Simulation


Dichromacy

Original Color
40, 53.859, 143.704
Protanopia
40, 35.114, 95.734
Deuteranopia
40, 30.612, 80.813
Tritanopia
40, 19.433, 211.960

Trichromacy

Original Color
40, 53.859, 143.704
Protanomaly
39, 40.229, 126.685
Deuteranomaly
38, 33.924, 123.630
Tritanomaly
40, 29.639, 168.998

Monochromacy

Original Color
40, 53.859, 143.704
Achromatopsia
29, 0.005, 296.813
Achromatomaly
32, 23.510, 152.348

CSS Examples


The CSS property to change the color of the text to CIELCh 40, 53.980, 143.892 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(0, 110, 38) }.

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

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

Here you see how black text with a 4 pixel rgb(0, 110, 38) 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 CIELCh 40, 53.980, 143.892 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, 110, 38) }.

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

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

Background

The CSS property to change the background color of an element to CIELCh 40, 53.980, 143.892 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(0, 110, 38) }.

If only the background color should be changed .background{ background-color:rgb(0, 110, 38) } 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, "006E26", 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 "141°, 100%, 43%" 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(141°, 100%, 43%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(40.00, -43.61, 31.81)", "CIELCH(40, 53.980, 143.892)", "YXY(11.2510, 0.2824, 0.5402)" and "CMYK(1.00, 0.00, 0.65, 0.57)".


    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.