Converting Colors

Advertisment

Conversions · Details · Harmonies · Images · Preview · Color Blindness Simulation · 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
RYB153, 102, 122
Decimal10053242
CIELab49.17, 23.09, -2.66
CIELCh49, 23.247, 353.434
Yxy17.7292, 0.3572, 0.2965
Android (android.graphics.Color)4288243322 (0xFF99667A)
YUV119.5290, 1.2182, 29.3541

Details

The Yxy color 17.7292, 0.3572, 0.2965 is a dark color, and the websafe version is hex 996666. A complement of this color would be 27.1743, 0.2827, 0.3643, and the grayscale version is 18.6627, 0.3127, 0.3290.

A 20% lighter version of the original color is 39.5771, 0.3475, 0.3042, and 5.8861, 0.3793, 0.2830 is the 20% darker color. If you saturate the color by 10%, you get 14.7659, 0.3770, 0.2864, and if you desaturate by 10%, it is 21.2687, 0.3406, 0.3068.

Advertisment

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 17.7292, 0.3572, 0.2965 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 17.7292, 0.3572, 0.2965 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%.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.239.3402, 0.3316, 0.3151The Color 239.3402, 0.3316, 0.3151.195.9840, 0.3329, 0.3141The Color 195.9840, 0.3329, 0.3141.158.2080, 0.3343, 0.3130The Color 158.2080, 0.3343, 0.3130.125.6276, 0.3360, 0.3118The Color 125.6276, 0.3360, 0.3118.97.8586, 0.3381, 0.3103The Color 97.8586, 0.3381, 0.3103.74.5164, 0.3404, 0.3086The Color 74.5164, 0.3404, 0.3086.55.2168, 0.3433, 0.3065The Color 55.2168, 0.3433, 0.3065.39.5753, 0.3469, 0.3039The Color 39.5753, 0.3469, 0.3039.27.2076, 0.3514, 0.3007The Color 27.2076, 0.3514, 0.3007.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0000, 0.8480, 0.0000The Color 0.0000, 0.8480, 0.0000.1.0211, 0.4243, 0.2502The Color 1.0211, 0.4243, 0.2502.2.7861, 0.3939, 0.2708The Color 2.7861, 0.3939, 0.2708.5.9028, 0.3764, 0.2829The Color 5.9028, 0.3764, 0.2829.10.7557, 0.3651, 0.2909The Color 10.7557, 0.3651, 0.2909.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.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.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.7.0467, 0.5383, 0.2739The Color 7.0467, 0.5383, 0.2739.7.3601, 0.5172, 0.2689The Color 7.3601, 0.5172, 0.2689.7.9893, 0.4869, 0.2645The Color 7.9893, 0.4869, 0.2645.8.9975, 0.4562, 0.2650The Color 8.9975, 0.4562, 0.2650.10.4353, 0.4268, 0.2696The Color 10.4353, 0.4268, 0.2696.12.3456, 0.4002, 0.2771The Color 12.3456, 0.4002, 0.2771.14.7659, 0.3770, 0.2864The Color 14.7659, 0.3770, 0.2864.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.73.3488, 0.2789, 0.3703The Color 73.3488, 0.2789, 0.3703.64.3162, 0.2825, 0.3645The Color 64.3162, 0.2825, 0.3645.56.0459, 0.2869, 0.3582The Color 56.0459, 0.2869, 0.3582.48.5183, 0.2921, 0.3512The Color 48.5183, 0.2921, 0.3512.41.7129, 0.2985, 0.3436The Color 41.7129, 0.2985, 0.3436.35.6083, 0.3062, 0.3354The Color 35.6083, 0.3062, 0.3354.30.1821, 0.3155, 0.3264The Color 30.1821, 0.3155, 0.3264.25.4105, 0.3269, 0.3169The Color 25.4105, 0.3269, 0.3169.21.2687, 0.3406, 0.3068The Color 21.2687, 0.3406, 0.3068.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.17.7292, 0.3119, 0.2706The Color 17.7292, 0.3119, 0.2706.17.7292, 0.3913, 0.3305The Color 17.7292, 0.3913, 0.3305.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.17.7292, 0.3119, 0.2706The Color 17.7292, 0.3119, 0.2706.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.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.17.7292, 0.2305, 0.2822The Color 17.7292, 0.2305, 0.2822.17.7292, 0.3525, 0.4101The Color 17.7292, 0.3525, 0.4101.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.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.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.27.1743, 0.2827, 0.3643The Color 27.1743, 0.2827, 0.3643.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.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.17.7292, 0.2396, 0.3195The Color 17.7292, 0.2396, 0.3195.17.7292, 0.3084, 0.3989The Color 17.7292, 0.3084, 0.3989.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.17.7292, 0.2396, 0.3195The Color 17.7292, 0.2396, 0.3195.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.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.17.7292, 0.2411, 0.2610The Color 17.7292, 0.2411, 0.2610.17.7292, 0.2674, 0.3639The Color 17.7292, 0.2674, 0.3639.17.7292, 0.3874, 0.3962The Color 17.7292, 0.3874, 0.3962.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.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.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.17.7292, 0.2313, 0.2931The Color 17.7292, 0.2313, 0.2931.17.7292, 0.2674, 0.3639The Color 17.7292, 0.2674, 0.3639.17.7292, 0.4016, 0.3547The Color 17.7292, 0.4016, 0.3547.17.7292, 0.3572, 0.2965The Color 17.7292, 0.3572, 0.2965.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.17.7300, 0.3572, 0.2965The Color 17.7300, 0.3572, 0.2965.12.5967, 0.3127, 0.3290The Color 12.5967, 0.3127, 0.3290.76.7769, 0.3127, 0.3290The Color 76.7769, 0.3127, 0.3290.10.3540, 0.3252, 0.3182The Color 10.3540, 0.3252, 0.3182.16.8298, 0.2912, 0.2437The Color 16.8298, 0.2912, 0.2437.47.9504, 0.3237, 0.3194The Color 47.9504, 0.3237, 0.3194.17.7300, 0.3572, 0.2965The Color 17.7300, 0.3572, 0.2965.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#99667A
Advertisment

Previews

White Background

 

This preview shows how the Yxy color 17.7292, 0.3572, 0.2965 looks on a white background.

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

Black Background

 

This preview shows how the Yxy color 17.7292, 0.3572, 0.2965 looks on a black background.

The color contrast ratio for these colors is 4.54, 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 17.7292, 0.3572, 0.2965 Background

 

This preview shows how black text looks on a background with the Yxy color 17.7292, 0.3572, 0.2965.

 

This preview shows how white text looks on a background with the Yxy color 17.7292, 0.3572, 0.2965.

Color Blindness Simulation


Dichromacy

Original Color
17.6802, 0.3580, 0.2958
Protanopia
17.7473, 0.2954, 0.3022
Deuteranopia
17.9027, 0.3224, 0.3178
Tritanopia
17.6498, 0.3690, 0.3155

Trichromacy

Original Color
17.6802, 0.3580, 0.2958
Protanomaly
17.5683, 0.3167, 0.2997
Deuteranomaly
17.7666, 0.3338, 0.3092
Tritanomaly
17.6369, 0.3649, 0.3072

Monochromacy

Original Color
17.6802, 0.3580, 0.2958
Achromatopsia
18.7821, 0.3127, 0.3290
Achromatomaly
18.3206, 0.3277, 0.3163
Advertisment

CSS Examples


The CSS property to change the color of the text to Yxy 17.7292, 0.3572, 0.2965 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(153, 102, 122) }.

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

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

Here you see how black text with a 4 pixel rgb(153, 102, 122) 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 17.7292, 0.3572, 0.2965 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(153, 102, 122) }.

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

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

Background

The CSS property to change the background color of an element to Yxy 17.7292, 0.3572, 0.2965 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(153, 102, 122) }.

If only the background color should be changed .background{ background-color:rgb(153, 102, 122) } 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, "99667A", 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 "337°, 33%, 60%" 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(337°, 33%, 60%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(49.17, 23.09, -2.66)", "CIELCH(49, 23.247, 353.434)", "YXY(17.7292, 0.3572, 0.2965)" and "CMYK(0.00, 0.33, 0.20, 0.40)".


Advertisment