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
Hex035F80
RGB3, 95, 128
RGB Percent1%, 37%, 50%
CMY0.9882, 0.6275, 0.4980
CMYK0.98, 0.26, 0.00, 0.50
HSL196°, 95%, 26%
HSV196°, 98%, 50%
XYZ8.0260, 9.7623, 21.8834
Conversions Part 2
FormatColor
RYB3, 56, 128
Decimal221056
CIELab37.41, -10.87, -25.06
CIELCh37, 27.315, 246.560
Yxy9.7623, 0.2023, 0.2461
Android (android.graphics.Color)4278411136 (0xFF035F80)
YUV71.2540, 27.9758, -59.8588

Details

The YUV color 71.2540, 27.9758, -59.8588 is a dark color, and the websafe version is hex 006699. A complement of this color would be 59.7460, -27.9758, 59.8588, and the grayscale version is 71.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 129.0710, 25.6010, -44.7893, and 37.7690, 20.3269, -33.1234 is the 20% darker color. If you saturate the color by 10%, you get 69.7700, 28.7074, -61.1883, and if you desaturate by 10%, it is 76.9020, 25.1913, -53.4111.

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 YUV color 71.2540, 27.9758, -59.8588 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 YUV color 71.2540, 27.9758, -59.8588 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%.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.253.5050, 0.7370, -3.0739The Color 253.5050, 0.7370, -3.0739.244.8340, 5.0118, -20.9024The Color 244.8340, 5.0118, -20.9024.236.1630, 9.2866, -38.7310The Color 236.1630, 9.2866, -38.7310.211.0560, 21.6644, -42.1451The Color 211.0560, 21.6644, -42.1451.184.1960, 26.0324, -43.1449The Color 184.1960, 26.0324, -43.1449.156.7830, 25.7430, -43.6597The Color 156.7830, 25.7430, -43.6597.129.0710, 25.6010, -44.7893The Color 129.0710, 25.6010, -44.7893.102.3480, 25.4644, -47.6632The Color 102.3480, 25.4644, -47.6632.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.9120, 3.4944, -0.7998The Color 0.9120, 3.4944, -0.7998.5.0500, 14.2723, -4.4289The Color 5.0500, 14.2723, -4.4289.23.4070, 16.0683, -20.5279The Color 23.4070, 16.0683, -20.5279.37.7690, 20.3269, -33.1234The Color 37.7690, 20.3269, -33.1234.53.4190, 24.4434, -46.8485The Color 53.4190, 24.4434, -46.8485.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.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.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.69.7700, 28.7074, -61.1883The Color 69.7700, 28.7074, -61.1883.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.123.2490, 2.3422, -4.6034The Color 123.2490, 2.3422, -4.6034.117.6010, 5.1267, -11.0511The Color 117.6010, 5.1267, -11.0511.112.2520, 7.7638, -16.8840The Color 112.2520, 7.7638, -16.8840.106.0170, 10.8376, -22.8169The Color 106.0170, 10.8376, -22.8169.100.3690, 13.6221, -29.2646The Color 100.3690, 13.6221, -29.2646.94.7210, 16.4065, -35.7123The Color 94.7210, 16.4065, -35.7123.88.4860, 19.4804, -41.6452The Color 88.4860, 19.4804, -41.6452.83.1370, 22.1175, -47.4781The Color 83.1370, 22.1175, -47.4781.76.9020, 25.1913, -53.4111The Color 76.9020, 25.1913, -53.4111.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.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.71.1090, 21.1453, -62.3626The Color 71.1090, 21.1453, -62.3626.85.8290, 22.7623, -20.8980The Color 85.8290, 22.7623, -20.8980.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.71.1090, 21.1453, -62.3626The Color 71.1090, 21.1453, -62.3626.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.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.83.2320, -15.3974, -8.0965The Color 83.2320, -15.3974, -8.0965.89.5360, -2.7292, 35.4869The Color 89.5360, -2.7292, 35.4869.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.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.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.59.7460, -27.9758, 59.8588The Color 59.7460, -27.9758, 59.8588.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.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.85.5610, -20.9826, 10.0320The Color 85.5610, -20.9826, 10.0320.88.3050, -12.4754, 34.8125The Color 88.3050, -12.4754, 34.8125.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.85.5610, -20.9826, 10.0320The Color 85.5610, -20.9826, 10.0320.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.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.78.9610, -4.4178, -29.7838The Color 78.9610, -4.4178, -29.7838.87.7030, -19.5736, 24.8165The Color 87.7030, -19.5736, 24.8165.90.5160, 7.6336, 24.9805The Color 90.5160, 7.6336, 24.9805.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.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.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.84.5810, -18.0344, -2.2635The Color 84.5810, -18.0344, -2.2635.87.7030, -19.5736, 24.8165The Color 87.7030, -19.5736, 24.8165.88.9130, 18.7769, -2.5547The Color 88.9130, 18.7769, -2.5547.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.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.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.84.0000, 0.0000, 0.0000The Color 84.0000, 0.0000, 0.0000.212.0000, 0.0000, 0.0000The Color 212.0000, 0.0000, 0.0000.70.6330, 6.5899, -13.7101The Color 70.6330, 6.5899, -13.7101.79.9090, -22.6331, -67.4492The Color 79.9090, -22.6331, -67.4492.144.0170, 10.8376, -22.8169The Color 144.0170, 10.8376, -22.8169.71.2540, 27.9758, -59.8588The Color 71.2540, 27.9758, -59.8588.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#035F80

Previews

White Background

 

This preview shows how the YUV color 71.2540, 27.9758, -59.8588 looks on a white background.

The color contrast ratio for these colors is 7.11, 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 YUV color 71.2540, 27.9758, -59.8588 looks on a black background.

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

YUV 71.2540, 27.9758, -59.8588 Background

 

This preview shows how black text looks on a background with the YUV color 71.2540, 27.9758, -59.8588.

 

This preview shows how white text looks on a background with the YUV color 71.2540, 27.9758, -59.8588.

Color Blindness Simulation


Dichromacy

Original Color
71.2540, 27.9758, -59.8588
Protanopia
88.1850, 16.1778, -8.9322
Deuteranopia
86.8190, 21.2882, -14.7503
Tritanopia
69.4960, 17.5035, -60.9480

Trichromacy

Original Color
71.2540, 27.9758, -59.8588
Protanomaly
82.2150, 20.6000, -27.3756
Deuteranomaly
81.2900, 23.5210, -30.9493
Tritanomaly
70.1200, 21.1398, -60.6182

Monochromacy

Original Color
71.2540, 27.9758, -59.8588
Achromatopsia
71.0000, 0.0000, 0.0000
Achromatomaly
71.2020, 10.2534, -22.1022

CSS Examples


The CSS property to change the color of the text to YUV 71.2540, 27.9758, -59.8588 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(3, 95, 128) }.

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

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

Here you see how black text with a 4 pixel rgb(3, 95, 128) 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 YUV 71.2540, 27.9758, -59.8588 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, 95, 128) }.

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

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

Background

The CSS property to change the background color of an element to YUV 71.2540, 27.9758, -59.8588 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(3, 95, 128) }.

If only the background color should be changed .background{ background-color:rgb(3, 95, 128) } 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, "035F80", 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 "196°, 98%, 50%" 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(196°, 98%, 50%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(37.41, -10.87, -25.06)", "CIELCH(37, 27.315, 246.560)", "YXY(9.7623, 0.2023, 0.2461)" and "CMYK(0.98, 0.26, 0.00, 0.50)".