Converting Colors


Conversions · Details · Harmonies · Images · Preview · 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 2
FormatColor
RYB102, 120, 146
Decimal6718610
CIELab53.39, -7.13, -10.99
CIELCh53, 13.099, 237.032
Yxy21.4026, 0.2678, 0.3029
Android (android.graphics.Color)4284908690 (0xFF668492)
YUV124.6260, 10.5374, -19.8430

Details

The Yxy color 21.4026, 0.2678, 0.3029 is a dark color, and the websafe version is hex 669999. A complement of this color would be 19.5754, 0.3705, 0.3536, and the grayscale version is 20.3482, 0.3127, 0.3290.

A 20% lighter version of the original color is 45.7381, 0.2774, 0.3087, and 7.7879, 0.2501, 0.2919 is the 20% darker color. If you saturate the color by 10%, you get 19.3895, 0.2535, 0.2927, and if you desaturate by 10%, it is 23.6241, 0.2826, 0.3124.

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 21.4026, 0.2678, 0.3029 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 21.4026, 0.2678, 0.3029 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%.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.259.4104, 0.2928, 0.3179The Color 259.4104, 0.2928, 0.3179.213.5833, 0.2915, 0.3171The Color 213.5833, 0.2915, 0.3171.173.4986, 0.2900, 0.3162The Color 173.4986, 0.2900, 0.3162.138.7718, 0.2883, 0.3152The Color 138.7718, 0.2883, 0.3152.109.0186, 0.2863, 0.3140The Color 109.0186, 0.2863, 0.3140.83.8546, 0.2839, 0.3126The Color 83.8546, 0.2839, 0.3126.62.8954, 0.2810, 0.3110The Color 62.8954, 0.2810, 0.3110.45.7566, 0.2776, 0.3089The Color 45.7566, 0.2776, 0.3089.32.0538, 0.2733, 0.3063The Color 32.0538, 0.2733, 0.3063.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.3750, 0.1042, 0.2143The Color 0.3750, 0.1042, 0.2143.1.6259, 0.2124, 0.2659The Color 1.6259, 0.2124, 0.2659.3.9147, 0.2359, 0.2822The Color 3.9147, 0.2359, 0.2822.7.7174, 0.2505, 0.2919The Color 7.7174, 0.2505, 0.2919.13.4186, 0.2605, 0.2984The Color 13.4186, 0.2605, 0.2984.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.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.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.11.0885, 0.1954, 0.2235The Color 11.0885, 0.1954, 0.2235.12.0865, 0.2010, 0.2351The Color 12.0865, 0.2010, 0.2351.13.2152, 0.2081, 0.2469The Color 13.2152, 0.2081, 0.2469.14.4973, 0.2171, 0.2588The Color 14.4973, 0.2171, 0.2588.15.9462, 0.2278, 0.2705The Color 15.9462, 0.2278, 0.2705.17.5735, 0.2401, 0.2819The Color 17.5735, 0.2401, 0.2819.19.3895, 0.2535, 0.2927The Color 19.3895, 0.2535, 0.2927.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.49.7029, 0.3925, 0.3609The Color 49.7029, 0.3925, 0.3609.45.5741, 0.3808, 0.3572The Color 45.5741, 0.3808, 0.3572.41.7055, 0.3683, 0.3528The Color 41.7055, 0.3683, 0.3528.38.0916, 0.3552, 0.3479The Color 38.0916, 0.3552, 0.3479.34.7263, 0.3415, 0.3423The Color 34.7263, 0.3415, 0.3423.31.6035, 0.3272, 0.3360The Color 31.6035, 0.3272, 0.3360.28.7168, 0.3125, 0.3289The Color 28.7168, 0.3125, 0.3289.26.0594, 0.2976, 0.3210The Color 26.0594, 0.2976, 0.3210.23.6241, 0.2826, 0.3124The Color 23.6241, 0.2826, 0.3124.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.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.21.4026, 0.2718, 0.3223The Color 21.4026, 0.2718, 0.3223.21.4026, 0.2752, 0.2915The Color 21.4026, 0.2752, 0.2915.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.21.4026, 0.2718, 0.3223The Color 21.4026, 0.2718, 0.3223.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.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.21.4026, 0.3320, 0.3710The Color 21.4026, 0.3320, 0.3710.21.4026, 0.3390, 0.3137The Color 21.4026, 0.3390, 0.3137.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.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.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.19.5754, 0.3705, 0.3536The Color 19.5754, 0.3705, 0.3536.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.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.21.4026, 0.3510, 0.3668The Color 21.4026, 0.3510, 0.3668.21.4026, 0.3553, 0.3333The Color 21.4026, 0.3553, 0.3333.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.21.4026, 0.3510, 0.3668The Color 21.4026, 0.3510, 0.3668.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.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.21.4026, 0.3083, 0.3630The Color 21.4026, 0.3083, 0.3630.21.4026, 0.3597, 0.3527The Color 21.4026, 0.3597, 0.3527.21.4026, 0.3157, 0.2981The Color 21.4026, 0.3157, 0.2981.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.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.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.21.4026, 0.3392, 0.3710The Color 21.4026, 0.3392, 0.3710.21.4026, 0.3597, 0.3527The Color 21.4026, 0.3597, 0.3527.21.4026, 0.2858, 0.2894The Color 21.4026, 0.2858, 0.2894.21.4026, 0.2678, 0.3029The Color 21.4026, 0.2678, 0.3029.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.21.4035, 0.2678, 0.3029The Color 21.4035, 0.2678, 0.3029.11.2805, 0.3127, 0.3290The Color 11.2805, 0.3127, 0.3290.72.9347, 0.3127, 0.3290The Color 72.9347, 0.3127, 0.3290.10.1872, 0.2970, 0.3207The Color 10.1872, 0.2970, 0.3207.24.6492, 0.2963, 0.3861The Color 24.6492, 0.2963, 0.3861.46.3849, 0.2990, 0.3218The Color 46.3849, 0.2990, 0.3218.21.4035, 0.2678, 0.3029The Color 21.4035, 0.2678, 0.3029.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#668492

Previews

White Background

 

This preview shows how the Yxy color 21.4026, 0.2678, 0.3029 looks on a white background.

The color contrast ratio for these colors is 3.98, 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 21.4026, 0.2678, 0.3029 looks on a black background.

The color contrast ratio for these colors is 5.28, 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 21.4026, 0.2678, 0.3029 Background

 

This preview shows how black text looks on a background with the Yxy color 21.4026, 0.2678, 0.3029.

 

This preview shows how white text looks on a background with the Yxy color 21.4026, 0.2678, 0.3029.

CSS Examples


The CSS property to change the color of the text to Yxy 21.4026, 0.2678, 0.3029 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(102, 132, 146) }.

This example shows how text in the color rgb(102, 132, 146) looks like.

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

Here you see how black text with a 4 pixel rgb(102, 132, 146) 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 21.4026, 0.2678, 0.3029 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(102, 132, 146) }.

If only the border color should be changed .border{ border-color:rgb(102, 132, 146) } can be used.

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

Background

The CSS property to change the background color of an element to Yxy 21.4026, 0.2678, 0.3029 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(102, 132, 146) }.

If only the background color should be changed .background{ background-color:rgb(102, 132, 146) } 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, "668492", 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 "199°, 30%, 57%" 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(199°, 30%, 57%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(53.39, -7.13, -10.99)", "CIELCH(53, 13.099, 237.032)", "YXY(21.4026, 0.2678, 0.3029)" and "CMYK(0.30, 0.10, 0.00, 0.43)".


125x125 Fiverr Pro  Grammarly Logo    10% discount- Jump- start your career  Searchmetrics Essentials - try for free

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.