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
Hex193089
RGB25, 48, 137
RGB Percent10%, 19%, 54%
CMY0.9020, 0.8118, 0.4627
CMYK0.82, 0.65, 0.00, 0.46
HSL228°, 69%, 32%
HSV228°, 82%, 54%
XYZ5.9732, 4.1267, 24.1486
Conversions Part 2
FormatColor
RYB25, 44, 137
Decimal1650825
CIELab24.09, 26.00, -51.95
CIELCh24, 58.093, 296.592
Yxy4.1267, 0.1744, 0.1205
Android (android.graphics.Color)4279840905 (0xFF193089)
YUV51.2690, 42.2654, -23.0379

Details

The YUV color 51.2690, 42.2654, -23.0379 is a dark color, and the websafe version is hex 003399. A complement of this color would be 110.7310, -42.2654, 23.0379, and the grayscale version is 51.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 103.8620, 42.9590, -12.1570, and 12.7390, 36.1177, -11.1721 is the 20% darker color. If you saturate the color by 10%, you get 40.6260, 47.5124, -25.9820, and if you desaturate by 10%, it is 61.9120, 37.0184, -20.0938.

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 51.2690, 42.2654, -23.0379 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 51.2690, 42.2654, -23.0379 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%.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.231.3990, 11.6353, 1.4041The Color 231.3990, 11.6353, 1.4041.206.2920, 24.0130, -2.0101The Color 206.2920, 24.0130, -2.0101.181.7720, 36.1014, -5.9390The Color 181.7720, 36.1014, -5.9390.156.4540, 45.1322, -9.1682The Color 156.4540, 45.1322, -9.1682.129.6280, 44.5534, -10.1978The Color 129.6280, 44.5534, -10.1978.103.8620, 42.9590, -12.1570The Color 103.8620, 42.9590, -12.1570.77.7260, 42.5331, -15.5457The Color 77.7260, 42.5331, -15.5457.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.2.4110, 6.6994, -2.1144The Color 2.4110, 6.6994, -2.1144.6.2070, 16.1669, -5.4435The Color 6.2070, 16.1669, -5.4435.10.5900, 25.3451, -9.2874The Color 10.5900, 25.3451, -9.2874.12.7390, 36.1177, -11.1721The Color 12.7390, 36.1177, -11.1721.28.5030, 40.6710, -24.9971The Color 28.5030, 40.6710, -24.9971.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.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.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.32.0540, 51.7384, -28.1114The Color 32.0540, 51.7384, -28.1114.40.6260, 47.5124, -25.9820The Color 40.6260, 47.5124, -25.9820.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.145.5720, -4.2260, 2.1294The Color 145.5720, -4.2260, 2.1294.135.2280, 0.8736, -0.2000The Color 135.2280, 0.8736, -0.2000.124.5850, 6.1206, -3.1440The Color 124.5850, 6.1206, -3.1440.113.9420, 11.3676, -6.0881The Color 113.9420, 11.3676, -6.0881.103.2990, 16.6146, -9.0322The Color 103.2990, 16.6146, -9.0322.93.5420, 21.4248, -11.8763The Color 93.5420, 21.4248, -11.8763.82.8990, 26.6718, -14.8204The Color 82.8990, 26.6718, -14.8204.72.2560, 31.9188, -17.7645The Color 72.2560, 31.9188, -17.7645.61.9120, 37.0184, -20.0938The Color 61.9120, 37.0184, -20.0938.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.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.54.7990, 44.9621, -48.0587The Color 54.7990, 44.9621, -48.0587.49.0390, 28.0818, 46.4468The Color 49.0390, 28.0818, 46.4468.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.54.7990, 44.9621, -48.0587The Color 54.7990, 44.9621, -48.0587.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.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.49.2520, 0.8618, -43.1940The Color 49.2520, 0.8618, -43.1940.50.7770, -25.0331, 49.3076The Color 50.7770, -25.0331, 49.3076.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.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.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.110.7310, -42.2654, 23.0379The Color 110.7310, -42.2654, 23.0379.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.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.41.6770, -20.5468, -36.5507The Color 41.6770, -20.5468, -36.5507.54.4220, -26.8300, 18.9239The Color 54.4220, -26.8300, 18.9239.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.41.6770, -20.5468, -36.5507The Color 41.6770, -20.5468, -36.5507.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.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.54.3820, 20.5177, -47.6930The Color 54.3820, 20.5177, -47.6930.48.3100, -23.8168, -14.3039The Color 48.3100, -23.8168, -14.3039.40.4810, -9.1111, 75.8772The Color 40.4810, -9.1111, 75.8772.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.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.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.46.8410, -5.8376, -41.0796The Color 46.8410, -5.8376, -41.0796.48.3100, -23.8168, -14.3039The Color 48.3100, -23.8168, -14.3039.45.4840, 16.5234, 67.1045The Color 45.4840, 16.5234, 67.1045.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.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.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.89.0000, 0.0000, 0.0000The Color 89.0000, 0.0000, 0.0000.217.0000, 0.0000, 0.0000The Color 217.0000, 0.0000, 0.0000.68.6000, 10.0572, -5.7882The Color 68.6000, 10.0572, -5.7882.100.7760, 6.0264, -66.4556The Color 100.7760, 6.0264, -66.4556.144.4130, 17.0514, -9.1322The Color 144.4130, 17.0514, -9.1322.51.2690, 42.2654, -23.0379The Color 51.2690, 42.2654, -23.0379.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#193089

Previews

White Background

 

This preview shows how the YUV color 51.2690, 42.2654, -23.0379 looks on a white background.

The color contrast ratio for these colors is 11.50, 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 51.2690, 42.2654, -23.0379 looks on a black background.

The color contrast ratio for these colors is 1.83, 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 51.2690, 42.2654, -23.0379 Background

 

This preview shows how black text looks on a background with the YUV color 51.2690, 42.2654, -23.0379.

 

This preview shows how white text looks on a background with the YUV color 51.2690, 42.2654, -23.0379.

Color Blindness Simulation


Dichromacy

Original Color
51.2690, 42.2654, -23.0379
Protanopia
45.6230, 35.1889, -40.0114
Tritanopia
45.3200, 11.1812, -39.7456

Trichromacy

Original Color
51.2690, 42.2654, -23.0379
Protanomaly
47.3510, 37.7880, -33.6338
Tritanomaly
47.3390, 22.5109, -33.6233

Monochromacy

Original Color
51.2690, 42.2654, -23.0379
Achromatopsia
51.0000, 0.0000, 0.0000
Achromatomaly
51.2560, 15.1568, -8.1175

CSS Examples


The CSS property to change the color of the text to YUV 51.2690, 42.2654, -23.0379 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(25, 48, 137) }.

This example shows how text in the color rgb(25, 48, 137) looks like.

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

Here you see how black text with a 4 pixel rgb(25, 48, 137) 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 51.2690, 42.2654, -23.0379 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(25, 48, 137) }.

If only the border color should be changed .border{ border-color:rgb(25, 48, 137) } can be used.

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

Background

The CSS property to change the background color of an element to YUV 51.2690, 42.2654, -23.0379 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(25, 48, 137) }.

If only the background color should be changed .background{ background-color:rgb(25, 48, 137) } 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, "193089", 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 "228°, 82%, 54%" 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(228°, 82%, 54%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(24.09, 26.00, -51.95)", "CIELCH(24, 58.093, 296.592)", "YXY(4.1267, 0.1744, 0.1205)" and "CMYK(0.82, 0.65, 0.00, 0.46)".


    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.