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%, 90%
CIELCh91, 0.011, 296.813
Yxy79.1298, 0.3127, 0.3290
Android (android.graphics.Color)4293322470 (0xFFE6E6E6)
YUV230.0000, 0.0000, 0.0000

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


Details

The Decimal color 15132390 is a light color, and the websafe version is hex FFFFFF. A complement of this color would be 15132390, and the grayscale version is 15132390.

A 20% lighter version of the original color is 16777215, and 11513775 is the 20% darker color. If you saturate the color by 10%, you get 15126479, and if you desaturate by 10%, it is 15138301.

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 Decimal color 15132390 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%.15132390The Color 15132390.16777215The Color 16777215.15132390The Color 15132390.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%.15132390The Color 15132390.328965The Color 328965.1973790The Color 1973790.3355443The Color 3355443.4868682The Color 4868682.6381921The Color 6381921.8026746The Color 8026746.9737364The Color 9737364.11513775The Color 11513775.13290186The Color 13290186.15132390The Color 15132390.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Decimal color 15132390 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.15132390The Color 15132390.15079191The Color 15079191.15085102The Color 15085102.15091013The Color 15091013.15096924The Color 15096924.15102835The Color 15102835.15108746The Color 15108746.15114657The Color 15114657.15120568The Color 15120568.15126479The Color 15126479.15132390The Color 15132390.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.15132390The Color 15132390.15138815The Color 15138815.15138301The Color 15138301.15132390The Color 15132390.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.15132390The Color 15132390.0The Color 0.8421504The Color 8421504.16777215The Color 16777215.15132390The Color 15132390.Sweetspot

SVG Images

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

#E6E6E6

Previews

White Background

This preview shows how the Decimal color 15132390 looks on a white background. The color contrast ratio for these colors is 1.25, 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 Decimal color 15132390 looks on a black background. The color contrast ratio for these colors is 16.83, 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/.

Decimal 15132390 Background

This preview shows how black text looks on a background with the Decimal color 15132390.

This preview shows how white text looks on a background with the Decimal color 15132390.


CSS Examples


The CSS property to change the color of the text to Decimal 15132390 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:#E6E6E6 }.

This example shows how text in the color #E6E6E6 looks like.

If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px #E6E6E6 }.

Here you see how black text with a 4 pixel #E6E6E6 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 Decimal 15132390 is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid #E6E6E6 }.

If only the border color should be changed .border{ border-color:#E6E6E6 } can be used.

Here you see how a box with a 4 pixel #E6E6E6 colored shadow looks like.

If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px #E6E6E6; -webkit-box-shadow:4px 4px 4px 4px #E6E6E6; box-shadow:4px 4px 4px 4px #E6E6E6 }.

Background

The CSS property to change the background color of an element to Decimal 15132390 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:#E6E6E6 }.

If only the background color should be changed .background{ background-color:#E6E6E6 } 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, "E6E6E6", 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%, 90%" 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%, 90%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(91.29, 0.00, -0.01)", "CIELCH(91, 0.011, 296.813)", "YXY(79.1298, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.10)".