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
RYB119, 119, 119
Decimal7829367
CIELab50.03, -0.00, -0.01
CIELCh50, 0.008, 259.964
Yxy18.4475, 0.3127, 0.3290
Android (android.graphics.Color)4286019447 (0xFF777777)
YUV119.0000, 0.0000, 0.0000

Details

The Yxy color 18.4475, 0.3127, 0.3290 is a dark color, and the websafe version is hex 666666. A complement of this color would be 18.4456, 0.3127, 0.3290, and the grayscale version is 18.4479, 0.3127, 0.3290.

A 20% lighter version of the original color is 40.7240, 0.3127, 0.3290, and 6.3010, 0.3127, 0.3290 is the 20% darker color. If you saturate the color by 10%, you get 17.6309, 0.2994, 0.3313, and if you desaturate by 10%, it is 19.3714, 0.3264, 0.3269.

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 18.4475, 0.3127, 0.3290 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 18.4475, 0.3127, 0.3290 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%.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.243.3814, 0.3127, 0.3290The Color 243.3814, 0.3127, 0.3290.199.5225, 0.3127, 0.3290The Color 199.5225, 0.3127, 0.3290.161.2771, 0.3127, 0.3290The Color 161.2771, 0.3127, 0.3290.128.2607, 0.3127, 0.3290The Color 128.2607, 0.3127, 0.3290.100.0891, 0.3127, 0.3290The Color 100.0891, 0.3127, 0.3290.76.3778, 0.3127, 0.3290The Color 76.3778, 0.3127, 0.3290.56.7423, 0.3127, 0.3290The Color 56.7423, 0.3127, 0.3290.40.7984, 0.3127, 0.3290The Color 40.7984, 0.3127, 0.3290.28.1616, 0.3127, 0.3290The Color 28.1616, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.0038, 0.2964, 0.3149The Color 0.0038, 0.2964, 0.3149.1.1305, 0.3127, 0.3290The Color 1.1305, 0.3127, 0.3290.2.9976, 0.3127, 0.3290The Color 2.9976, 0.3127, 0.3290.6.2499, 0.3127, 0.3290The Color 6.2499, 0.3127, 0.3290.11.2717, 0.3127, 0.3290The Color 11.2717, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.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.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.14.3691, 0.2343, 0.3548The Color 14.3691, 0.2343, 0.3548.14.5082, 0.2368, 0.3516The Color 14.5082, 0.2368, 0.3516.14.7112, 0.2411, 0.3484The Color 14.7112, 0.2411, 0.3484.14.9856, 0.2472, 0.3453The Color 14.9856, 0.2472, 0.3453.15.3378, 0.2549, 0.3422The Color 15.3378, 0.2549, 0.3422.15.7735, 0.2642, 0.3392The Color 15.7735, 0.2642, 0.3392.16.2978, 0.2749, 0.3364The Color 16.2978, 0.2749, 0.3364.16.9155, 0.2867, 0.3337The Color 16.9155, 0.2867, 0.3337.17.6309, 0.2994, 0.3313The Color 17.6309, 0.2994, 0.3313.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.30.9735, 0.4301, 0.3173The Color 30.9735, 0.4301, 0.3173.29.0843, 0.4187, 0.3180The Color 29.0843, 0.4187, 0.3180.27.3263, 0.4067, 0.3188The Color 27.3263, 0.4067, 0.3188.25.6968, 0.3943, 0.3197The Color 25.6968, 0.3943, 0.3197.24.1928, 0.3813, 0.3208The Color 24.1928, 0.3813, 0.3208.22.8114, 0.3679, 0.3220The Color 22.8114, 0.3679, 0.3220.21.5496, 0.3542, 0.3235The Color 21.5496, 0.3542, 0.3235.20.4040, 0.3403, 0.3251The Color 20.4040, 0.3403, 0.3251.19.3714, 0.3264, 0.3269The Color 19.3714, 0.3264, 0.3269.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

Harmonies

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.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3128, 0.3290The Color 18.4475, 0.3128, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.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.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4456, 0.3127, 0.3290The Color 18.4456, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.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.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3128, 0.3290The Color 18.4475, 0.3128, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.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.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3128, 0.3290The Color 18.4475, 0.3128, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.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.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3128, 0.3290The Color 18.4475, 0.3128, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.18.4475, 0.3127, 0.3290The Color 18.4475, 0.3127, 0.3290.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.18.4483, 0.3127, 0.3290The Color 18.4483, 0.3127, 0.3290.62.0916, 0.3127, 0.3290The Color 62.0916, 0.3127, 0.3290.7.8288, 0.3127, 0.3290The Color 7.8288, 0.3127, 0.3290.18.4481, 0.3127, 0.3290The Color 18.4481, 0.3127, 0.3290.33.0344, 0.3127, 0.3290The Color 33.0344, 0.3127, 0.3290.18.4483, 0.3127, 0.3290The Color 18.4483, 0.3127, 0.3290.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#777777
Advertisment

Previews

White Background

 

This preview shows how the Yxy color 18.4475, 0.3127, 0.3290 looks on a white background.

The color contrast ratio for these colors is 4.48, 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 18.4475, 0.3127, 0.3290 looks on a black background.

The color contrast ratio for these colors is 4.69, 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 18.4475, 0.3127, 0.3290 Background

 

This preview shows how black text looks on a background with the Yxy color 18.4475, 0.3127, 0.3290.

 

This preview shows how white text looks on a background with the Yxy color 18.4475, 0.3127, 0.3290.

Color Blindness Simulation


Dichromacy

Original Color
18.4475, 0.3127, 0.3290
Protanopia
18.3537, 0.3153, 0.3271
Deuteranopia
18.3634, 0.3262, 0.3198
Tritanopia
18.4822, 0.3048, 0.3120

Trichromacy

Original Color
18.4475, 0.3127, 0.3290
Protanomaly
18.2818, 0.3141, 0.3271
Deuteranomaly
18.2825, 0.3208, 0.3215
Tritanomaly
18.4052, 0.3082, 0.3176

Monochromacy

Original Color
18.4475, 0.3127, 0.3290
Achromatopsia
18.4475, 0.3127, 0.3290
Achromatomaly
18.4475, 0.3127, 0.3290
Advertisment

CSS Examples


The CSS property to change the color of the text to Yxy 18.4475, 0.3127, 0.3290 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(119, 119, 119) }.

This example shows how text in the color rgb(119, 119, 119) looks like.

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

Here you see how black text with a 4 pixel rgb(119, 119, 119) 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 18.4475, 0.3127, 0.3290 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(119, 119, 119) }.

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

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

Background

The CSS property to change the background color of an element to Yxy 18.4475, 0.3127, 0.3290 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(119, 119, 119) }.

If only the background color should be changed .background{ background-color:rgb(119, 119, 119) } 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, "777777", 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 "174°, 0%, 47%" 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(174°, 0%, 47%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(50.03, -0.00, -0.01)", "CIELCH(50, 0.008, 259.964)", "YXY(18.4475, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.53)".


Advertisment