Converting Colors


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 1
FormatColor
HexD1D1D1
RGB209, 209, 209
RGB Percent82%, 82%, 82%
CMY0.1804, 0.1804, 0.1804
CMYK0.00, 0.00, 0.00, 0.18
HSL0°, 0%, 82%
HSV0°, 0%, 82%
XYZ60.6036, 63.7597, 69.4343
Conversions Part 2
FormatColor
RYB209, 209, 209
Decimal13750737
CIELab83.84, 0.00, -0.01
CIELCh84, 0.010, 296.813
Yxy63.7597, 0.3127, 0.3290
Android (android.graphics.Color)4291940817 (0xFFD1D1D1)
YUV209.0000, 0.0000, 0.0000

Details

The Hex color D1D1D1 is a light color, and the websafe version is hex CCCCCC. A complement of this color would be D1D1D1, and the grayscale version is D1D1D1.

A 20% lighter version of the original color is FFFFFF, and 9B9B9B is the 20% darker color. If you saturate the color by 10%, you get D1BCBC, and if you desaturate by 10%, it is D1E6E6.

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 Hex color D1D1D1 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 Hex color D1D1D1 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%.D1D1D1The Color D1D1D1.FFFFFFThe Color FFFFFF.EDEDEDThe Color EDEDED.D1D1D1The Color D1D1D1.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]D1D1D1The Color D1D1D1.000000The Color 000000.0E0E0EThe Color 0E0E0E.232323The Color 232323.393939The Color 393939.505050The Color 505050.686868The Color 686868.818181The Color 818181.9B9B9BThe Color 9B9B9B.B5B5B5The Color B5B5B5.D1D1D1The Color D1D1D1.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.D1D1D1The Color D1D1D1.D11515The Color D11515.D12A2AThe Color D12A2A.D13F3FThe Color D13F3F.D15454The Color D15454.D16969The Color D16969.D17D7DThe Color D17D7D.D19292The Color D19292.D1A7A7The Color D1A7A7.D1BCBCThe Color D1BCBC.D1D1D1The Color D1D1D1.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]D1D1D1The Color D1D1D1.D1FFFFThe Color D1FFFF.D1FBFBThe Color D1FBFB.D1E6E6The Color D1E6E6.D1D1D1The Color D1D1D1.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.D1D1D1The Color D1D1D1.000000The Color 000000.808080The Color 808080.FFFFFFThe Color FFFFFF.D1D1D1The Color D1D1D1.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#D1D1D1

Previews

White Background

 

This preview shows how the Hex color D1D1D1 looks on a white background.

The color contrast ratio for these colors is 1.53, 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 Hex color D1D1D1 looks on a black background.

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

Hex D1D1D1 Background

 

This preview shows how black text looks on a background with the Hex color D1D1D1.

 

This preview shows how white text looks on a background with the Hex color D1D1D1.

Color Blindness Simulation


Dichromacy

Original Color
D1D1D1
Protanopia
D5D0D0
Deuteranopia
E4CAD2
Tritanopia
D3CFDF

Trichromacy

Original Color
D1D1D1
Protanomaly
D4D0D0
Deuteranomaly
DDCDD2
Tritanomaly
D2D0DA

Monochromacy

Original Color
D1D1D1
Achromatopsia
D1D1D1
Achromatomaly
D1D1D1

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#D1D1D1 } 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, "D1D1D1", 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%, 82%" 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%, 82%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(83.84, 0.00, -0.01)", "CIELCH(84, 0.010, 296.813)", "YXY(63.7597, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.18)".


    FontExplorer X - Makes Everyone an Expert

Advertisment: These links are affiliate (commission) links. If you click on such a link and buy something on that website, I get a commission. For you, the price does not change.