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
RYB165, 145, 177
Decimal10850737
CIELab62.86, 13.52, -13.97
CIELCh63, 19.442, 314.061
Yxy31.4245, 0.3028, 0.2834
Android (android.graphics.Color)4289040817 (0xFFA591B1)
YUV154.6280, 11.0294, 9.0962

Details

The Yxy color 31.4245, 0.3028, 0.2834 is a light color, and the websafe version is hex 9999CC. A complement of this color would be 40.6525, 0.3211, 0.3757, and the grayscale version is 32.5555, 0.3127, 0.3290.

A 20% lighter version of the original color is 61.9457, 0.3046, 0.2919, and 12.9714, 0.2996, 0.2689 is the 20% darker color. If you saturate the color by 10%, you get 25.7377, 0.2960, 0.2562, and if you desaturate by 10%, it is 37.9935, 0.3087, 0.3093.

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 31.4245, 0.3028, 0.2834 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 31.4245, 0.3028, 0.2834 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%.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.308.4892, 0.3083, 0.3070The Color 308.4892, 0.3083, 0.3070.256.8653, 0.3080, 0.3056The Color 256.8653, 0.3080, 0.3056.211.3480, 0.3077, 0.3041The Color 211.3480, 0.3077, 0.3041.171.5530, 0.3073, 0.3024The Color 171.5530, 0.3073, 0.3024.137.0959, 0.3069, 0.3004The Color 137.0959, 0.3069, 0.3004.107.5923, 0.3063, 0.2981The Color 107.5923, 0.3063, 0.2981.82.6577, 0.3057, 0.2954The Color 82.6577, 0.3057, 0.2954.61.9078, 0.3050, 0.2921The Color 61.9078, 0.3050, 0.2921.44.9582, 0.3040, 0.2882The Color 44.9582, 0.3040, 0.2882.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.3171, 0.2726, 0.1369The Color 0.3171, 0.2726, 0.1369.1.5407, 0.2826, 0.2182The Color 1.5407, 0.2826, 0.2182.3.7608, 0.2911, 0.2426The Color 3.7608, 0.2911, 0.2426.7.4749, 0.2959, 0.2583The Color 7.4749, 0.2959, 0.2583.13.0672, 0.2991, 0.2693The Color 13.0672, 0.2991, 0.2693.20.9223, 0.3012, 0.2773The Color 20.9223, 0.3012, 0.2773.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.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.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.6.5271, 0.2290, 0.1035The Color 6.5271, 0.2290, 0.1035.6.6847, 0.2308, 0.1054The Color 6.6847, 0.2308, 0.1054.7.6023, 0.2401, 0.1159The Color 7.6023, 0.2401, 0.1159.8.9845, 0.2500, 0.1311The Color 8.9845, 0.2500, 0.1311.10.9414, 0.2601, 0.1509The Color 10.9414, 0.2601, 0.1509.13.5404, 0.2700, 0.1745The Color 13.5404, 0.2700, 0.1745.16.8395, 0.2795, 0.2007The Color 16.8395, 0.2795, 0.2007.20.8898, 0.2882, 0.2283The Color 20.8898, 0.2882, 0.2283.25.7377, 0.2960, 0.2562The Color 25.7377, 0.2960, 0.2562.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.90.6605, 0.3387, 0.4112The Color 90.6605, 0.3387, 0.4112.89.6156, 0.3343, 0.4124The Color 89.6156, 0.3343, 0.4124.88.6117, 0.3299, 0.4136The Color 88.6117, 0.3299, 0.4136.85.2488, 0.3261, 0.4111The Color 85.2488, 0.3261, 0.4111.73.7681, 0.3239, 0.3946The Color 73.7681, 0.3239, 0.3946.63.3329, 0.3211, 0.3762The Color 63.3329, 0.3211, 0.3762.53.9132, 0.3177, 0.3558The Color 53.9132, 0.3177, 0.3558.45.4777, 0.3136, 0.3335The Color 45.4777, 0.3136, 0.3335.37.9935, 0.3087, 0.3093The Color 37.9935, 0.3087, 0.3093.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.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.31.4245, 0.2753, 0.2779The Color 31.4245, 0.2753, 0.2779.31.4245, 0.3343, 0.2996The Color 31.4245, 0.3343, 0.2996.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.31.4245, 0.2753, 0.2779The Color 31.4245, 0.2753, 0.2779.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.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.31.4245, 0.2663, 0.3325The Color 31.4245, 0.2663, 0.3325.31.4245, 0.3696, 0.3711The Color 31.4245, 0.3696, 0.3711.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.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.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.40.6525, 0.3211, 0.3757The Color 40.6525, 0.3211, 0.3757.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.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.31.4245, 0.2898, 0.3613The Color 31.4245, 0.2898, 0.3613.31.4245, 0.3496, 0.3836The Color 31.4245, 0.3496, 0.3836.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.31.4245, 0.2898, 0.3613The Color 31.4245, 0.2898, 0.3613.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.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.31.4245, 0.2551, 0.3044The Color 31.4245, 0.2551, 0.3044.31.4245, 0.3202, 0.3805The Color 31.4245, 0.3202, 0.3805.31.4245, 0.3740, 0.3487The Color 31.4245, 0.3740, 0.3487.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.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.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.31.4245, 0.2730, 0.3426The Color 31.4245, 0.2730, 0.3426.31.4245, 0.3202, 0.3805The Color 31.4245, 0.3202, 0.3805.31.4245, 0.3532, 0.3146The Color 31.4245, 0.3532, 0.3146.31.4245, 0.3028, 0.2834The Color 31.4245, 0.3028, 0.2834.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.31.4258, 0.3028, 0.2834The Color 31.4258, 0.3028, 0.2834.17.0645, 0.3127, 0.3290The Color 17.0645, 0.3127, 0.3290.89.0005, 0.3127, 0.3290The Color 89.0005, 0.3127, 0.3290.15.3845, 0.3099, 0.3150The Color 15.3845, 0.3099, 0.3150.33.3989, 0.2845, 0.2996The Color 33.3989, 0.2845, 0.2996.71.8799, 0.3102, 0.3167The Color 71.8799, 0.3102, 0.3167.31.4258, 0.3028, 0.2834The Color 31.4258, 0.3028, 0.2834.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#A591B1

Previews

White Background

 

This preview shows how the Yxy color 31.4245, 0.3028, 0.2834 looks on a white background.

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

Black Background

 

This preview shows how the Yxy color 31.4245, 0.3028, 0.2834 looks on a black background.

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

Yxy 31.4245, 0.3028, 0.2834 Background

 

This preview shows how black text looks on a background with the Yxy color 31.4245, 0.3028, 0.2834.

 

This preview shows how white text looks on a background with the Yxy color 31.4245, 0.3028, 0.2834.

CSS Examples


The CSS property to change the color of the text to Yxy 31.4245, 0.3028, 0.2834 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(165, 145, 177) }.

This example shows how text in the color rgb(165, 145, 177) looks like.

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

Here you see how black text with a 4 pixel rgb(165, 145, 177) 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 31.4245, 0.3028, 0.2834 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(165, 145, 177) }.

If only the border color should be changed .border{ border-color:rgb(165, 145, 177) } can be used.

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

Background

The CSS property to change the background color of an element to Yxy 31.4245, 0.3028, 0.2834 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(165, 145, 177) }.

If only the background color should be changed .background{ background-color:rgb(165, 145, 177) } 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, "A591B1", 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 "277°, 18%, 69%" 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(277°, 18%, 69%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(62.86, 13.52, -13.97)", "CIELCH(63, 19.442, 314.061)", "YXY(31.4245, 0.3028, 0.2834)" and "CMYK(0.07, 0.18, 0.00, 0.31)".


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.