Converting Colors

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

Conversions

New: Converting Colors offers a new tool to do mass color conversions.

FormatColor
HSL235°, 71%, 71%
CIELCh61, 52.959, 292.959
Yxy29.3174, 0.2315, 0.2032
Android (android.graphics.Color)4286745834 (0xFF828CEA)
YUV147.7260, 42.5331, -15.5457

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


Details

The XYZ color 33.3944, 29.3174, 81.5476 is a light color, and the websafe version is hex 9999FF. A complement of this color would be 64.7504, 72.7588, 31.9099, and the grayscale version is 27.7964, 29.2440, 31.8467.

A 20% lighter version of the original color is 57.6135, 55.9247, 102.3657, and 14.4397, 11.9431, 43.6637 is the 20% darker color. If you saturate the color by 10%, you get 27.3865, 22.0547, 80.4630, and if you desaturate by 10%, it is 40.8230, 38.2087, 82.8728.

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 33.3944, 29.3174, 81.5476 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%.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.309.0568, 298.7096, 519.9768The Color 309.0568, 298.7096, 519.9768.258.1841, 248.2155, 444.1393The Color 258.1841, 248.2155, 444.1393.213.2247, 203.7587, 376.0592The Color 213.2247, 203.7587, 376.0592.173.8134, 164.9549, 315.3179The Color 173.8134, 164.9549, 315.3179.139.5847, 131.4196, 261.4969The Color 139.5847, 131.4196, 261.4969.110.1734, 102.7684, 214.1777The Color 110.1734, 102.7684, 214.1777.85.2141, 78.6170, 172.9417The Color 85.2141, 78.6170, 172.9417.64.3414, 58.5810, 137.3704The Color 64.3414, 58.5810, 137.3704.47.1899, 42.2759, 107.0452The Color 47.1899, 42.2759, 107.0452.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.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%.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.0000, 1.1355The Color 0.0000, 0.0000, 1.1355.0.0000, 0.0000, 3.0798The Color 0.0000, 0.0000, 3.0798.0.6159, 0.1174, 6.5033The Color 0.6159, 0.1174, 6.5033.1.9680, 1.2695, 11.8247The Color 1.9680, 1.2695, 11.8247.4.4643, 3.2611, 19.4624The Color 4.4643, 3.2611, 19.4624.8.4897, 6.6773, 29.8350The Color 8.4897, 6.6773, 29.8350.14.4097, 11.9025, 43.3610The Color 14.4097, 11.9025, 43.3610.22.5894, 19.3211, 60.4591The Color 22.5894, 19.3211, 60.4591.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the XYZ color 33.3944, 29.3174, 81.5476 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.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.15.0732, 6.4432, 78.0986The Color 15.0732, 6.4432, 78.0986.15.5294, 7.0963, 78.2007The Color 15.5294, 7.0963, 78.2007.16.9042, 8.9749, 78.4908The Color 16.9042, 8.9749, 78.4908.19.2496, 12.0000, 78.9511The Color 19.2496, 12.0000, 78.9511.22.7050, 16.3184, 79.6025The Color 22.7050, 16.3184, 79.6025.27.3865, 22.0547, 80.4630The Color 27.3865, 22.0547, 80.4630.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.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.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.91.8146, 98.7058, 91.8624The Color 91.8146, 98.7058, 91.8624.86.2838, 91.7528, 90.8118The Color 86.2838, 91.7528, 90.8118.72.4131, 75.5121, 88.4081The Color 72.4131, 75.5121, 88.4081.60.2580, 61.2244, 86.2910The Color 60.2580, 61.2244, 86.2910.49.7517, 48.8161, 84.4497The Color 49.7517, 48.8161, 84.4497.40.8230, 38.2087, 82.8728The Color 40.8230, 38.2087, 82.8728.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.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.26.2632, 29.3174, 86.7680The Color 26.2632, 29.3174, 86.7680.39.9155, 29.3174, 60.8786The Color 39.9155, 29.3174, 60.8786.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.26.2632, 29.3174, 86.7680The Color 26.2632, 29.3174, 86.7680.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.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.16.6201, 29.3174, 27.4675The Color 16.6201, 29.3174, 27.4675.36.6900, 29.3174, 10.1188The Color 36.6900, 29.3174, 10.1188.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.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.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.64.7504, 72.7588, 31.9099The Color 64.7504, 72.7588, 31.9099.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.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.18.5230, 29.3174, 14.0068The Color 18.5230, 29.3174, 14.0068.29.5312, 29.3174, 7.0482The Color 29.5312, 29.3174, 7.0482.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.18.5230, 29.3174, 14.0068The Color 18.5230, 29.3174, 14.0068.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.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.17.3063, 29.3174, 49.2464The Color 17.3063, 29.3174, 49.2464.22.9829, 29.3174, 8.0957The Color 22.9829, 29.3174, 8.0957.42.0278, 29.3174, 19.2271The Color 42.0278, 29.3174, 19.2271.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.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.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.16.9659, 29.3174, 21.9911The Color 16.9659, 29.3174, 21.9911.22.9829, 29.3174, 8.0957The Color 22.9829, 29.3174, 8.0957.42.6498, 29.3174, 44.4656The Color 42.6498, 29.3174, 44.4656.33.3944, 29.3174, 81.5476The Color 33.3944, 29.3174, 81.5476.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.33.3955, 29.3184, 81.5483The Color 33.3955, 29.3184, 81.5483.20.3446, 21.4041, 23.3091The Color 20.3446, 21.4041, 23.3091.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.15.3955, 15.5906, 22.4478The Color 15.3955, 15.5906, 22.4478.52.0009, 68.8320, 80.6510The Color 52.0009, 68.8320, 80.6510.74.9871, 76.4435, 105.4106The Color 74.9871, 76.4435, 105.4106.33.3955, 29.3184, 81.5483The Color 33.3955, 29.3184, 81.5483.Sweetspot

SVG Images

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

#828CEA

Previews

White Background

This preview shows how the XYZ color 33.3944, 29.3174, 81.5476 looks on a white background.

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

Black Background

This preview shows how the XYZ color 33.3944, 29.3174, 81.5476 looks on a black background.

The color contrast ratio for these colors is 6.89, 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/.

XYZ 33.3944, 29.3174, 81.5476 Background

This preview shows how black text looks on a background with the XYZ color 33.3944, 29.3174, 81.5476.

This preview shows how white text looks on a background with the XYZ color 33.3944, 29.3174, 81.5476.


CSS Examples


The CSS property to change the color of the text to XYZ 33.3944, 29.3174, 81.5476 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(130, 140, 234) }.

This example shows how text in the color rgb(130, 140, 234) looks like.

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

Here you see how black text with a 4 pixel rgb(130, 140, 234) 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 33.3944, 29.3174, 81.5476 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(130, 140, 234) }.

If only the border color should be changed .border{ border-color:rgb(130, 140, 234) } can be used.

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

Background

The CSS property to change the background color of an element to XYZ 33.3944, 29.3174, 81.5476 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(130, 140, 234) }.

If only the background color should be changed .background{ background-color:rgb(130, 140, 234) } 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, "828CEA", 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 "235°, 44%, 92%" 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(235°, 44%, 92%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(61.06, 20.66, -48.76)", "CIELCH(61, 52.959, 292.959)", "YXY(29.3174, 0.2315, 0.2032)" and "CMYK(0.44, 0.40, 0.00, 0.08)".