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
Hex005FBB
RGB0, 95, 187
RGB Percent0%, 37%, 73%
CMY1.0000, 0.6262, 0.2670
CMYK1.00, 0.49, 0.00, 0.27
HSL209°, 100%, 37%
HSV209°, 100%, 73%
XYZ5.6541, 7.9986, 48.2081
Conversions Part 2
FormatColor
RYB0, 63, 187
Decimal24507
CIELab33.98, -20.25, -66.26
CIELCh34, 69.286, 253.009
Yxy7.9986, 0.0914, 0.1293
Android (android.graphics.Color)4278214587 (0xFF005FBB)
YUV77.0830, 54.1891, -67.6018

Details

The Yxy color 7.9986, 0.0914, 0.1293 is a dark color, and the websafe version is hex 0066CC. A complement of this color would be 18.1353, 0.5438, 0.4064, and the grayscale version is 7.3829, 0.3127, 0.3290.

A 20% lighter version of the original color is 29.1621, 0.2074, 0.1947, and 3.9747, 0.1678, 0.1241 is the 20% darker color. If you saturate the color by 10%, you get 11.8275, 0.1781, 0.1610, and if you desaturate by 10%, it is 13.7180, 0.1852, 0.1786.

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 Yxy color 7.9986, 0.0914, 0.1293 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 Yxy color 7.9986, 0.0914, 0.1293 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%.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.175.7210, 0.2086, 0.2432The Color 175.7210, 0.2086, 0.2432.140.6874, 0.2017, 0.2370The Color 140.6874, 0.2017, 0.2370.110.6502, 0.1939, 0.2299The Color 110.6502, 0.1939, 0.2299.85.2250, 0.1849, 0.2218The Color 85.2250, 0.1849, 0.2218.64.0273, 0.1746, 0.2122The Color 64.0273, 0.1746, 0.2122.46.6728, 0.1627, 0.2010The Color 46.6728, 0.1627, 0.2010.32.7770, 0.1488, 0.1878The Color 32.7770, 0.1488, 0.1878.21.9557, 0.1326, 0.1718The Color 21.9557, 0.1326, 0.1718.13.8244, 0.1136, 0.1526The Color 13.8244, 0.1136, 0.1526.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.4406, 0.0000, 0.0307The Color 0.4406, 0.0000, 0.0307.1.7263, 0.0393, 0.0689The Color 1.7263, 0.0393, 0.0689.4.0941, 0.0662, 0.1013The Color 4.0941, 0.0662, 0.1013.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.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.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.11.8275, 0.1781, 0.1610The Color 11.8275, 0.1781, 0.1610.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.43.6744, 0.2974, 0.3166The Color 43.6744, 0.2974, 0.3166.38.2477, 0.2816, 0.3029The Color 38.2477, 0.2816, 0.3029.33.3421, 0.2655, 0.2877The Color 33.3421, 0.2655, 0.2877.28.9392, 0.2494, 0.2712The Color 28.9392, 0.2494, 0.2712.25.0195, 0.2338, 0.2536The Color 25.0195, 0.2338, 0.2536.21.5619, 0.2190, 0.2351The Color 21.5619, 0.2190, 0.2351.18.5436, 0.2057, 0.2161The Color 18.5436, 0.2057, 0.2161.15.9388, 0.1943, 0.1971The Color 15.9388, 0.1943, 0.1971.13.7180, 0.1852, 0.1786The Color 13.7180, 0.1852, 0.1786.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.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.7.9986, 0.0778, 0.1829The Color 7.9986, 0.0778, 0.1829.7.9986, 0.1404, 0.1198The Color 7.9986, 0.1404, 0.1198.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.7.9986, 0.0778, 0.1829The Color 7.9986, 0.0778, 0.1829.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.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.7.9986, 0.2972, 0.6573The Color 7.9986, 0.2972, 0.6573.7.9986, 0.5740, 0.2666The Color 7.9986, 0.5740, 0.2666.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.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.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.18.1353, 0.5438, 0.4064The Color 18.1353, 0.5438, 0.4064.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.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.7.9986, 0.4314, 0.5686The Color 7.9986, 0.4314, 0.5686.7.9986, 0.6197, 0.3460The Color 7.9986, 0.6197, 0.3460.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.7.9986, 0.4314, 0.5686The Color 7.9986, 0.4314, 0.5686.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.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.7.9986, 0.1750, 0.5546The Color 7.9986, 0.1750, 0.5546.7.9986, 0.5545, 0.4455The Color 7.9986, 0.5545, 0.4455.7.9986, 0.4106, 0.1932The Color 7.9986, 0.4106, 0.1932.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.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.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.7.9986, 0.3469, 0.6504The Color 7.9986, 0.3469, 0.6504.7.9986, 0.5545, 0.4455The Color 7.9986, 0.5545, 0.4455.7.9986, 0.2016, 0.1307The Color 7.9986, 0.2016, 0.1307.7.9986, 0.0914, 0.1293The Color 7.9986, 0.0914, 0.1293.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.11.8275, 0.1781, 0.1610The Color 11.8275, 0.1781, 0.1610.19.5994, 0.3127, 0.3290The Color 19.5994, 0.3127, 0.3290.95.5105, 0.3127, 0.3290The Color 95.5105, 0.3127, 0.3290.12.3194, 0.2579, 0.2801The Color 12.3194, 0.2579, 0.2801.36.2459, 0.2740, 0.5065The Color 36.2459, 0.2740, 0.5065.59.3764, 0.2647, 0.2869The Color 59.3764, 0.2647, 0.2869.11.8275, 0.1781, 0.1610The Color 11.8275, 0.1781, 0.1610.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#005FBB
Advertisment

Previews

White Background

 

This preview shows how the Yxy color 7.9986, 0.0914, 0.1293 looks on a white background.

The color contrast ratio for these colors is 6.26, 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 Yxy color 7.9986, 0.0914, 0.1293 looks on a black background.

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

Yxy 7.9986, 0.0914, 0.1293 Background

 

This preview shows how black text looks on a background with the Yxy color 7.9986, 0.0914, 0.1293.

 

This preview shows how white text looks on a background with the Yxy color 7.9986, 0.0914, 0.1293.

Color Blindness Simulation


Dichromacy

Original Color
11.7723, 0.1779, 0.1603
Protanopia
11.8670, 0.1877, 0.1625
Deuteranopia
11.9022, 0.1846, 0.1845
Tritanopia
11.7303, 0.2196, 0.3106

Trichromacy

Original Color
11.7723, 0.1779, 0.1603
Protanomaly
11.7975, 0.1824, 0.1612
Deuteranomaly
11.9097, 0.1824, 0.1765
Tritanomaly
11.6236, 0.2003, 0.2411

Monochromacy

Original Color
11.7723, 0.1779, 0.1603
Achromatopsia
7.4214, 0.3127, 0.3290
Achromatomaly
8.2780, 0.2253, 0.2438
Advertisment

CSS Examples


The CSS property to change the color of the text to Yxy 7.9986, 0.0914, 0.1293 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(0, 95, 187) }.

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

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

Here you see how black text with a 4 pixel rgb(0, 95, 187) 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 Yxy 7.9986, 0.0914, 0.1293 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, 95, 187) }.

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

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

Background

The CSS property to change the background color of an element to Yxy 7.9986, 0.0914, 0.1293 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(0, 95, 187) }.

If only the background color should be changed .background{ background-color:rgb(0, 95, 187) } 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, "005FBB", 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 "209°, 100%, 73%" 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(209°, 100%, 73%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(33.98, -20.25, -66.26)", "CIELCH(34, 69.286, 253.009)", "YXY(7.9986, 0.0914, 0.1293)" and "CMYK(1.00, 0.49, 0.00, 0.27)".


Advertisment