Converting Colors

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

Conversions

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

FormatColor
HSL0°, 0%, 55%
CIELCh58, 0.007, 296.813
Yxy26.2251, 0.3127, 0.3290
Android (android.graphics.Color)4287401100 (0xFF8C8C8C)
YUV140.0000, 0.0000, 0.0000

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


Details

The Android color 4287401100 is a dark color, and the websafe version is hex 999999, and the color name is philippine gray. A complement of this color would be 4287401100, and the grayscale version is 4287401100.

A 20% lighter version of the original color is 4290953921, and 4284111450 is the 20% darker color. If you saturate the color by 10%, you get 4287397502, and if you desaturate by 10%, it is 4287404698.

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 Android color 4287401100 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%.4287401100The Color 4287401100.4294967295The Color 4294967295.4294638330The Color 4294638330.4292730333The Color 4292730333.4290953921The Color 4290953921.4289111718The Color 4289111718.4287401100The Color 4287401100.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%.4287401100The Color 4287401100.4278190080The Color 4278190080.4279769112The Color 4279769112.4281150765The Color 4281150765.4282598211The Color 4282598211.4284111450The Color 4284111450.4285756275The Color 4285756275.4287401100The Color 4287401100.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Android color 4287401100 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.4287401100The Color 4287401100.4287368718The Color 4287368718.4287372316The Color 4287372316.4287375914The Color 4287375914.4287379512The Color 4287379512.4287383110The Color 4287383110.4287386708The Color 4287386708.4287390306The Color 4287390306.4287393904The Color 4287393904.4287397502The Color 4287397502.4287401100The Color 4287401100.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.4287401100The Color 4287401100.4287430655The Color 4287430655.4287429884The Color 4287429884.4287426286The Color 4287426286.4287422688The Color 4287422688.4287419090The Color 4287419090.4287415492The Color 4287415492.4287411894The Color 4287411894.4287408296The Color 4287408296.4287404698The Color 4287404698.4287401100The Color 4287401100.Saturation Gradient

Harmonies

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.4287401100The Color 4287401100.4292598747The Color 4292598747.4284243036The Color 4284243036.4290098613The Color 4290098613.4287401100The Color 4287401100.Sweetspot

SVG Images

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

#8C8C8C

Previews

White Background

This preview shows how the Android color 4287401100 looks on a white background.

The color contrast ratio for these colors is 3.36, 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 Android color 4287401100 looks on a black background.

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

Android 4287401100 Background

This preview shows how black text looks on a background with the Android color 4287401100.

This preview shows how white text looks on a background with the Android color 4287401100.


CSS Examples


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

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

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

Here you see how black text with a 4 pixel rgb(140, 140, 140) 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 Android 4287401100 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(140, 140, 140) }.

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

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

Background

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

If only the background color should be changed .background{ background-color:rgb(140, 140, 140) } 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, "8C8C8C", 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 "0°, 0%, 55%" 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(0°, 0%, 55%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(58.25, 0.00, -0.01)", "CIELCH(58, 0.007, 296.813)", "YXY(26.2251, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.45)".