Converting Colors

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

Conversions

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

FormatColor
HSL240°, 5%, 20%
CIELCh20, 3.406, 290.993
Yxy2.9993, 0.3005, 0.3089
Android (android.graphics.Color)4281348149 (0xFF303035)
YUV48.5700, 2.1840, -0.4999

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


Details

The YUV color 48.5700, 2.1840, -0.4999 is a dark color, and the websafe version is hex 333333. A complement of this color would be 52.4300, -2.1840, 0.4999, and the grayscale version is 49.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 94.5700, 2.1840, -0.4999, and 0.9120, 3.4944, -0.7998 is the 20% darker color. If you saturate the color by 10%, you get 44.1400, 4.3680, -0.9998, and if you desaturate by 10%, it is 53.0000, 0.0000, 0.0000.

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 YUV color 48.5700, 2.1840, -0.4999 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%.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.226.6840, 2.6208, -0.5999The Color 226.6840, 2.6208, -0.5999.198.6840, 2.6208, -0.5999The Color 198.6840, 2.6208, -0.5999.171.6840, 2.6208, -0.5999The Color 171.6840, 2.6208, -0.5999.144.6840, 2.6208, -0.5999The Color 144.6840, 2.6208, -0.5999.119.5700, 2.1840, -0.4999The Color 119.5700, 2.1840, -0.4999.94.5700, 2.1840, -0.4999The Color 94.5700, 2.1840, -0.4999.70.6840, 2.6208, -0.5999The Color 70.6840, 2.6208, -0.5999.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.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%.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.0.9120, 3.4944, -0.7998The Color 0.9120, 3.4944, -0.7998.27.5700, 2.1840, -0.4999The Color 27.5700, 2.1840, -0.4999.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 48.5700, 2.1840, -0.4999 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.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.6.0420, 23.1503, -5.2988The Color 6.0420, 23.1503, -5.2988.11.3580, 20.5295, -4.6990The Color 11.3580, 20.5295, -4.6990.15.7880, 18.3455, -4.1991The Color 15.7880, 18.3455, -4.1991.20.2180, 16.1615, -3.6992The Color 20.2180, 16.1615, -3.6992.24.6480, 13.9775, -3.1993The Color 24.6480, 13.9775, -3.1993.29.9640, 11.3567, -2.5994The Color 29.9640, 11.3567, -2.5994.34.3940, 9.1728, -2.0995The Color 34.3940, 9.1728, -2.0995.38.8240, 6.9888, -1.5996The Color 38.8240, 6.9888, -1.5996.44.1400, 4.3680, -0.9998The Color 44.1400, 4.3680, -0.9998.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.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.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.91.0980, -18.7823, 4.2991The Color 91.0980, -18.7823, 4.2991.85.7820, -16.1615, 3.6992The Color 85.7820, -16.1615, 3.6992.81.3520, -13.9775, 3.1993The Color 81.3520, -13.9775, 3.1993.76.9220, -11.7935, 2.6994The Color 76.9220, -11.7935, 2.6994.72.4920, -9.6096, 2.1995The Color 72.4920, -9.6096, 2.1995.67.1760, -6.9888, 1.5996The Color 67.1760, -6.9888, 1.5996.62.7460, -4.8048, 1.0998The Color 62.7460, -4.8048, 1.0998.58.3160, -2.6208, 0.5999The Color 58.3160, -2.6208, 0.5999.53.0000, 0.0000, 0.0000The Color 53.0000, 0.0000, 0.0000.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.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.48.2600, 2.3368, -2.8590The Color 48.2600, 2.3368, -2.8590.48.7660, 1.5944, 1.9592The Color 48.7660, 1.5944, 1.9592.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.48.2600, 2.3368, -2.8590The Color 48.2600, 2.3368, -2.8590.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.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.47.6790, 0.1583, -4.1035The Color 47.6790, 0.1583, -4.1035.48.5660, -1.7580, 3.8886The Color 48.5660, -1.7580, 3.8886.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.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.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.52.4300, -2.1840, 0.4999The Color 52.4300, -2.1840, 0.4999.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.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.47.6470, -1.3050, -1.4444The Color 47.6470, -1.3050, -1.4444.48.4410, -2.1894, 2.2442The Color 48.4410, -2.1894, 2.2442.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.47.6470, -1.3050, -1.4444The Color 47.6470, -1.3050, -1.4444.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.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.47.6080, 1.1793, -4.9182The Color 47.6080, 1.1793, -4.9182.48.4300, -2.1840, 0.4999The Color 48.4300, -2.1840, 0.4999.49.0930, -1.0318, 4.3034The Color 49.0930, -1.0318, 4.3034.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.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.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.47.8640, -0.4260, -3.3887The Color 47.8640, -0.4260, -3.3887.48.4300, -2.1840, 0.4999The Color 48.4300, -2.1840, 0.4999.49.1360, 0.4260, 3.3887The Color 49.1360, 0.4260, 3.3887.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.36.0000, 0.0000, 0.0000The Color 36.0000, 0.0000, 0.0000.163.0000, 0.0000, 0.0000The Color 163.0000, 0.0000, 0.0000.34.2280, 0.8736, -0.2000The Color 34.2280, 0.8736, -0.2000.51.5050, 0.7370, -3.0739The Color 51.5050, 0.7370, -3.0739.67.2280, 0.8736, -0.2000The Color 67.2280, 0.8736, -0.2000.48.5700, 2.1840, -0.4999The Color 48.5700, 2.1840, -0.4999.Sweetspot

SVG Images

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

#303035

Previews

White Background

This preview shows how the YUV color 48.5700, 2.1840, -0.4999 looks on a white background.

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

Black Background

This preview shows how the YUV color 48.5700, 2.1840, -0.4999 looks on a black background.

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

YUV 48.5700, 2.1840, -0.4999 Background

This preview shows how black text looks on a background with the YUV color 48.5700, 2.1840, -0.4999.

This preview shows how white text looks on a background with the YUV color 48.5700, 2.1840, -0.4999.


CSS Examples


The CSS property to change the color of the text to YUV 48.5700, 2.1840, -0.4999 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(48, 48, 53) }.

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

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

Here you see how black text with a 4 pixel rgb(48, 48, 53) 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 YUV 48.5700, 2.1840, -0.4999 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(48, 48, 53) }.

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

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

Background

The CSS property to change the background color of an element to YUV 48.5700, 2.1840, -0.4999 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(48, 48, 53) }.

If only the background color should be changed .background{ background-color:rgb(48, 48, 53) } 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, "303035", 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 "240°, 9%, 21%" 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(240°, 9%, 21%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(20.04, 1.22, -3.18)", "CIELCH(20, 3.406, 290.993)", "YXY(2.9993, 0.3005, 0.3089)" and "CMYK(0.09, 0.09, 0.00, 0.79)".