Converting Colors

Advertisment

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
Hex70270A
RGB112, 39, 10
RGB Percent44%, 15%, 4%
CMY0.5607, 0.8485, 0.9623
CMYK0.00, 0.66, 0.91, 0.56
HSL17°, 84%, 24%
HSV17°, 91%, 44%
XYZ7.4496, 4.8938, 0.8277
Conversions Part 2
FormatColor
RYB112, 51, 10
Decimal7350026
CIELab26.43, 31.09, 33.73
CIELCh26, 45.873, 47.332
Yxy4.8938, 0.5656, 0.3716
Android (android.graphics.Color)4285540106 (0xFF70270A)
YUV57.5210, -23.4279, 47.7781

Details

The CIELab color 26.43, 31.09, 33.73 is a dark color, and the websafe version is hex 663300. A complement of this color would be 32.73, -9.47, -22.48, and the grayscale version is 24.18, 0.00, -0.00.

A 20% lighter version of the original color is 46.35, 30.92, 33.42, and 7.86, 27.60, 12.42 is the 20% darker color. If you saturate the color by 10%, you get 25.15, 34.11, 36.46, and if you desaturate by 10%, it is 28.13, 27.26, 29.79.

Advertisment

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 CIELab color 26.43, 31.09, 33.73 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 CIELab color 26.43, 31.09, 33.73 by changing the saturation by 10% instead.

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.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.25.15, 34.11, 36.46The Color 25.15, 34.11, 36.46.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.46.87, 0.35, 0.40The Color 46.87, 0.35, 0.40.44.26, 2.93, 3.34The Color 44.26, 2.93, 3.34.41.69, 5.74, 6.46The Color 41.69, 5.74, 6.46.39.18, 8.81, 9.78The Color 39.18, 8.81, 9.78.36.73, 12.13, 13.32The Color 36.73, 12.13, 13.32.34.37, 15.69, 17.12The Color 34.37, 15.69, 17.12.32.13, 19.44, 21.17The Color 32.13, 19.44, 21.17.30.04, 23.33, 25.44The Color 30.04, 23.33, 25.44.28.13, 27.26, 29.79The Color 28.13, 27.26, 29.79.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.26.43, 43.79, 13.67The Color 26.43, 43.79, 13.67.26.43, 10.06, 44.76The Color 26.43, 10.06, 44.76.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.26.43, 43.79, 13.67The Color 26.43, 43.79, 13.67.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.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.26.43, 13.67, -43.79The Color 26.43, 13.67, -43.79.26.43, -44.76, 10.06The Color 26.43, -44.76, 10.06.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.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.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.32.73, -9.47, -22.48The Color 32.73, -9.47, -22.48.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.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.26.43, -10.06, -44.76The Color 26.43, -10.06, -44.76.26.43, -43.79, -13.67The Color 26.43, -43.79, -13.67.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.26.43, -10.06, -44.76The Color 26.43, -10.06, -44.76.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.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.26.43, 33.73, -31.09The Color 26.43, 33.73, -31.09.26.43, -31.09, -33.73The Color 26.43, -31.09, -33.73.26.43, -33.73, 31.09The Color 26.43, -33.73, 31.09.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.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.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.26.43, 5.85, -45.50The Color 26.43, 5.85, -45.50.26.43, -31.09, -33.73The Color 26.43, -31.09, -33.73.26.43, -5.85, 45.50The Color 26.43, -5.85, 45.50.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.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.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.31.44, 0.00, -0.00The Color 31.44, 0.00, -0.00.81.13, 0.00, -0.01The Color 81.13, 0.00, -0.01.25.60, 6.33, 7.04The Color 25.60, 6.33, 7.04.24.57, 47.39, -15.76The Color 24.57, 47.39, -15.76.51.69, 9.22, 10.28The Color 51.69, 9.22, 10.28.26.43, 31.09, 33.73The Color 26.43, 31.09, 33.73.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#70270A
Advertisment

Previews

White Background

 

This preview shows how the CIELab color 26.43, 31.09, 33.73 looks on a white background.

The color contrast ratio for these colors is 10.59, 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 CIELab color 26.43, 31.09, 33.73 looks on a black background.

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

CIELab 26.43, 31.09, 33.73 Background

 

This preview shows how black text looks on a background with the CIELab color 26.43, 31.09, 33.73.

 

This preview shows how white text looks on a background with the CIELab color 26.43, 31.09, 33.73.

Color Blindness Simulation


Dichromacy

Original Color
26.50, 30.91, 33.63
Protanopia
26.97, -3.00, 29.22
Deuteranopia
26.98, 2.86, 36.29
Tritanopia
26.48, 34.08, 17.40

Trichromacy

Original Color
26.50, 30.91, 33.63
Protanomaly
26.13, 10.34, 29.97
Deuteranomaly
26.24, 13.68, 34.98
Tritanomaly
26.50, 32.99, 23.85

Monochromacy

Original Color
26.50, 30.91, 33.63
Achromatopsia
23.97, 0.00, -0.00
Achromatomaly
23.71, 10.83, 11.32
Advertisment

CSS Examples


The CSS property to change the color of the text to CIELab 26.43, 31.09, 33.73 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(112, 39, 10) }.

This example shows how text in the color rgb(112, 39, 10) looks like.

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

Here you see how black text with a 4 pixel rgb(112, 39, 10) 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 CIELab 26.43, 31.09, 33.73 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(112, 39, 10) }.

If only the border color should be changed .border{ border-color:rgb(112, 39, 10) } can be used.

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

Background

The CSS property to change the background color of an element to CIELab 26.43, 31.09, 33.73 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(112, 39, 10) }.

If only the background color should be changed .background{ background-color:rgb(112, 39, 10) } 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, "70270A", 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 "17°, 91%, 44%" 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(17°, 91%, 44%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(26.43, 31.09, 33.73)", "CIELCH(26, 45.873, 47.332)", "YXY(4.8938, 0.5656, 0.3716)" and "CMYK(0.00, 0.66, 0.91, 0.56)".


Advertisment