Converting Colors

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

Conversions

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

FormatColor
HSL198°, 41%, 54%
CIELCh62, 25.098, 238.950
Yxy29.8833, 0.2380, 0.2819
Android (android.graphics.Color)4284194234 (0xFF5B9DBA)
YUV140.5720, 22.3960, -43.4746

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


Details

The Yxy color 29.8833, 0.2380, 0.2819 is a dark color, and the websafe version is hex 3399CC. A complement of this color would be 24.6095, 0.4333, 0.3697, and the grayscale version is 26.3802, 0.3127, 0.3290.

A 20% lighter version of the original color is 59.7008, 0.2528, 0.2925, and 12.2775, 0.2146, 0.2655 is the 20% darker color. If you saturate the color by 10%, you get 27.1789, 0.2260, 0.2708, and if you desaturate by 10%, it is 32.9133, 0.2513, 0.2925.

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 Yxy color 29.8833, 0.2380, 0.2819 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%.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.301.3601, 0.2769, 0.3076The Color 301.3601, 0.2769, 0.3076.250.5586, 0.2747, 0.3062The Color 250.5586, 0.2747, 0.3062.205.8134, 0.2722, 0.3046The Color 205.8134, 0.2722, 0.3046.166.7401, 0.2694, 0.3028The Color 166.7401, 0.2694, 0.3028.132.9542, 0.2661, 0.3007The Color 132.9542, 0.2661, 0.3007.104.0715, 0.2623, 0.2982The Color 104.0715, 0.2623, 0.2982.79.7074, 0.2578, 0.2953The Color 79.7074, 0.2578, 0.2953.59.4776, 0.2525, 0.2918The Color 59.4776, 0.2525, 0.2918.42.9977, 0.2460, 0.2874The Color 42.9977, 0.2460, 0.2874.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.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%.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.1720, 0.0000, 0.0835The Color 0.1720, 0.0000, 0.0835.1.3401, 0.1342, 0.1996The Color 1.3401, 0.1342, 0.1996.3.3929, 0.1716, 0.2318The Color 3.3929, 0.1716, 0.2318.6.8892, 0.1968, 0.2518The Color 6.8892, 0.1968, 0.2518.12.2135, 0.2146, 0.2652The Color 12.2135, 0.2146, 0.2652.19.7500, 0.2279, 0.2748The Color 19.7500, 0.2279, 0.2748.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Yxy color 29.8833, 0.2380, 0.2819 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.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.19.3198, 0.1962, 0.2263The Color 19.3198, 0.1962, 0.2263.20.8000, 0.2006, 0.2364The Color 20.8000, 0.2006, 0.2364.22.6599, 0.2071, 0.2478The Color 22.6599, 0.2071, 0.2478.24.7778, 0.2156, 0.2594The Color 24.7778, 0.2156, 0.2594.27.1789, 0.2260, 0.2708The Color 27.1789, 0.2260, 0.2708.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.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.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.69.9477, 0.3657, 0.3519The Color 69.9477, 0.3657, 0.3519.64.4497, 0.3548, 0.3469The Color 64.4497, 0.3548, 0.3469.58.7441, 0.3407, 0.3414The Color 58.7441, 0.3407, 0.3414.53.4589, 0.3261, 0.3352The Color 53.4589, 0.3261, 0.3352.48.5826, 0.3110, 0.3282The Color 48.5826, 0.3110, 0.3282.44.1031, 0.2958, 0.3204The Color 44.1031, 0.2958, 0.3204.40.0076, 0.2806, 0.3119The Color 40.0076, 0.2806, 0.3119.36.2825, 0.2656, 0.3026The Color 36.2825, 0.2656, 0.3026.32.9133, 0.2513, 0.2925The Color 32.9133, 0.2513, 0.2925.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.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.29.8833, 0.2431, 0.3136The Color 29.8833, 0.2431, 0.3136.29.8833, 0.2510, 0.2652The Color 29.8833, 0.2510, 0.2652.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.29.8833, 0.2431, 0.3136The Color 29.8833, 0.2431, 0.3136.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.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.29.8833, 0.3421, 0.4022The Color 29.8833, 0.3421, 0.4022.29.8833, 0.3599, 0.3048The Color 29.8833, 0.3599, 0.3048.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.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.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.24.6095, 0.4333, 0.3697The Color 24.6095, 0.4333, 0.3697.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.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.29.8833, 0.3760, 0.3940The Color 29.8833, 0.3760, 0.3940.29.8833, 0.3875, 0.3369The Color 29.8833, 0.3875, 0.3369.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.29.8833, 0.3760, 0.3940The Color 29.8833, 0.3760, 0.3940.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.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.29.8833, 0.3017, 0.3875The Color 29.8833, 0.3017, 0.3875.29.8833, 0.3933, 0.3692The Color 29.8833, 0.3933, 0.3692.29.8833, 0.3199, 0.2791The Color 29.8833, 0.3199, 0.2791.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.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.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.29.8833, 0.3547, 0.4019The Color 29.8833, 0.3547, 0.4019.29.8833, 0.3933, 0.3692The Color 29.8833, 0.3933, 0.3692.29.8833, 0.2689, 0.2632The Color 29.8833, 0.2689, 0.2632.29.8833, 0.2380, 0.2819The Color 29.8833, 0.2380, 0.2819.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.29.8844, 0.2380, 0.2819The Color 29.8844, 0.2380, 0.2819.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.16.5628, 0.2862, 0.3152The Color 16.5628, 0.2862, 0.3152.38.6830, 0.2878, 0.4414The Color 38.6830, 0.2878, 0.4414.76.7814, 0.2895, 0.3170The Color 76.7814, 0.2895, 0.3170.29.8844, 0.2380, 0.2819The Color 29.8844, 0.2380, 0.2819.Sweetspot

SVG Images

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

#5B9DBA

Previews

White Background

This preview shows how the Yxy color 29.8833, 0.2380, 0.2819 looks on a white background.

The color contrast ratio for these colors is 3.01, 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 Yxy color 29.8833, 0.2380, 0.2819 looks on a black background.

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

Yxy 29.8833, 0.2380, 0.2819 Background

This preview shows how black text looks on a background with the Yxy color 29.8833, 0.2380, 0.2819.

This preview shows how white text looks on a background with the Yxy color 29.8833, 0.2380, 0.2819.


CSS Examples


The CSS property to change the color of the text to Yxy 29.8833, 0.2380, 0.2819 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(91, 157, 186) }.

This example shows how text in the color rgb(91, 157, 186) looks like.

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

Here you see how black text with a 4 pixel rgb(91, 157, 186) 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 29.8833, 0.2380, 0.2819 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(91, 157, 186) }.

If only the border color should be changed .border{ border-color:rgb(91, 157, 186) } can be used.

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

Background

The CSS property to change the background color of an element to Yxy 29.8833, 0.2380, 0.2819 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(91, 157, 186) }.

If only the background color should be changed .background{ background-color:rgb(91, 157, 186) } 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, "5B9DBA", 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 "198°, 51%, 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(198°, 51%, 73%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(61.55, -12.94, -21.50)", "CIELCH(62, 25.098, 238.950)", "YXY(29.8833, 0.2380, 0.2819)" and "CMYK(0.51, 0.16, 0.00, 0.27)".