Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

FormatColor
HSL240°, 81%, 41%
CIELCh25, 100.606, 305.263
Yxy4.2799, 0.1556, 0.0693
Android (android.graphics.Color)4279506108 (0xFF1414BC)
YUV39.1520, 73.3821, -16.7963

Add this color to the bucket
(The bucket allows you to create a color palette)

Go to the color bucket to see your palette.

Get Conversions and Harmonies as JSON or XML via the REST API.


Details

The XYZ color 9.6157, 4.2799, 47.8962 is a dark color, and the websafe version is hex 3300CC. A complement of this color would be 38.8423, 46.7052, 7.6294, and the grayscale version is 1.8836, 1.9817, 2.1581.

A 20% lighter version of the original color is 24.7776, 14.2918, 88.6414, and 4.2336, 1.6935, 22.2940 is the 20% darker color. If you saturate the color by 10%, you get 9.1054, 3.6647, 47.8045, and if you desaturate by 10%, it is 10.6257, 5.4962, 48.0779.

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 Gradient

These gradients show how the XYZ color 9.6157, 4.2799, 47.8962 changes by changing the brightness by 10 percent. The first figure shows a shift by +10% for each color and the second figure -10%.

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%.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.182.0184, 142.6317, 394.8774The Color 182.0184, 142.6317, 394.8774.146.6820, 112.3075, 332.0674The Color 146.6820, 112.3075, 332.0674.116.2432, 86.6181, 276.2981The Color 116.2432, 86.6181, 276.2981.90.3367, 65.1792, 227.1510The Color 90.3367, 65.1792, 227.1510.68.5971, 47.6064, 184.2076The Color 68.5971, 47.6064, 184.2076.50.6591, 33.5153, 147.0493The Color 50.6591, 33.5153, 147.0493.36.1573, 22.5215, 115.2575The Color 36.1573, 22.5215, 115.2575.24.7264, 14.2406, 88.4138The Color 24.7264, 14.2406, 88.4138.16.0010, 8.2882, 66.0995The Color 16.0010, 8.2882, 66.0995.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Brightness Gradient
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%.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.2677The Color 0.0000, 0.0000, 0.2677.0.0000, 0.0000, 1.5678The Color 0.0000, 0.0000, 1.5678.0.0000, 0.0000, 3.8948The Color 0.0000, 0.0000, 3.8948.0.0000, 0.0000, 7.8216The Color 0.0000, 0.0000, 7.8216.0.8472, 0.0000, 13.7665The Color 0.8472, 0.0000, 13.7665.2.4042, 0.5066, 22.1482The Color 2.4042, 0.5066, 22.1482.5.2052, 1.8313, 33.3853The Color 5.2052, 1.8313, 33.3853.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 9.6157, 4.2799, 47.8962 by changing the saturation by 10% instead.

Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.9.0775, 3.6310, 47.7995The Color 9.0775, 3.6310, 47.7995.9.1054, 3.6647, 47.8045The Color 9.1054, 3.6647, 47.8045.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Saturation Gradient
Saturation GradientSimilar to the brightness gradients but the following show a change of the {format} color {color} by changing the saturation by 10% instead.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.48.3513, 50.9537, 54.8637The Color 48.3513, 50.9537, 54.8637.40.1896, 41.1190, 53.3956The Color 40.1896, 41.1190, 53.3956.33.1139, 32.5929, 52.1228The Color 33.1139, 32.5929, 52.1228.27.0784, 25.3203, 51.0372The Color 27.0784, 25.3203, 51.0372.22.0340, 19.2421, 50.1299The Color 22.0340, 19.2421, 50.1299.17.9279, 14.2945, 49.3913The Color 17.9279, 14.2945, 49.3913.14.7021, 10.4077, 48.8111The Color 14.7021, 10.4077, 48.8111.12.2924, 7.5043, 48.3777The Color 12.2924, 7.5043, 48.3777.10.6257, 5.4962, 48.0779The Color 10.6257, 5.4962, 48.0779.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Saturation Gradient

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.4.7464, 4.2799, 67.0342The Color 4.7464, 4.2799, 67.0342.14.3549, 4.2799, 19.1514The Color 14.3549, 4.2799, 19.1514.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.4.7464, 4.2799, 67.0342The Color 4.7464, 4.2799, 67.0342.Analogous

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.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.0.1403, 4.2799, 6.7581The Color 0.1403, 4.2799, 6.7581.7.7693, 4.2799, 0.0000The Color 7.7693, 4.2799, 0.0000.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Triad

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.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.38.8423, 46.7052, 7.6294The Color 38.8423, 46.7052, 7.6294.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Complementary

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.0.3554, 4.2799, 0.0191The Color 0.3554, 4.2799, 0.0191.3.4574, 4.2799, 0.0000The Color 3.4574, 4.2799, 0.0000.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.0.3554, 4.2799, 0.0191The Color 0.3554, 4.2799, 0.0191.Split Complementary

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.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.0.5806, 4.2799, 28.5708The Color 0.5806, 4.2799, 28.5708.1.2120, 4.2799, 0.0000The Color 1.2120, 4.2799, 0.0000.12.9135, 4.2799, 0.0000The Color 12.9135, 4.2799, 0.0000.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Square

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.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.0.1384, 4.2799, 3.1891The Color 0.1384, 4.2799, 3.1891.1.2120, 4.2799, 0.0000The Color 1.2120, 4.2799, 0.0000.15.8409, 4.2799, 6.5255The Color 15.8409, 4.2799, 6.5255.9.6157, 4.2799, 47.8962The Color 9.6157, 4.2799, 47.8962.Rectangle

Sweetspot

The sweet spot groups the original color and five complimentary colors.

SweetspotThe sweet spot groups the original color and five complimentary colors.9.6161, 4.2799, 47.8964The Color 9.6161, 4.2799, 47.8964.18.6292, 19.5994, 21.3438The Color 18.6292, 19.5994, 21.3438.90.7827, 95.5105, 104.0109The Color 90.7827, 95.5105, 104.0109.10.2370, 9.4870, 19.8342The Color 10.2370, 9.4870, 19.8342.27.3488, 39.7461, 53.8074The Color 27.3488, 39.7461, 53.8074.51.0361, 48.2517, 92.8498The Color 51.0361, 48.2517, 92.8498.9.6161, 4.2799, 47.8964The Color 9.6161, 4.2799, 47.8964.Sweetspot

SVG Images

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

#1414BC

Previews

White Background

This preview shows how the XYZ color 9.6157, 4.2799, 47.8962 looks on a white background.

The color contrast ratio for these colors is 11.31, 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 XYZ color 9.6157, 4.2799, 47.8962 looks on a black background.

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

XYZ 9.6157, 4.2799, 47.8962 Background

This preview shows how black text looks on a background with the XYZ color 9.6157, 4.2799, 47.8962.

This preview shows how white text looks on a background with the XYZ color 9.6157, 4.2799, 47.8962.


CSS Examples


The CSS property to change the color of the text to XYZ 9.6157, 4.2799, 47.8962 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(20, 20, 188) }.

This example shows how text in the color rgb(20, 20, 188) looks like.

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

Here you see how black text with a 4 pixel rgb(20, 20, 188) 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 XYZ 9.6157, 4.2799, 47.8962 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(20, 20, 188) }.

If only the border color should be changed .border{ border-color:rgb(20, 20, 188) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 9.6157, 4.2799, 47.8962 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(20, 20, 188) }.

If only the background color should be changed .background{ background-color:rgb(20, 20, 188) } 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.

Upskill your career and get 10% off on a Udacity Nanodegrees ProgramAdvertisment🛈

How-to use Converting Colors

To convert, paste a string in one of these color formats, for example, "1414BC", 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 "240°, 89%, 74%" 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(240°, 89%, 74%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(24.58, 58.08, -82.15)", "CIELCH(25, 100.606, 305.263)", "YXY(4.2799, 0.1556, 0.0693)" and "CMYK(0.89, 0.89, 0.00, 0.26)".