Converting Colors

Conversions

FormatColor
HSL314°, 57%, 61%
CIELCh58, 61.224, 335.308
Yxy26.2776, 0.3479, 0.2264
Android (android.graphics.Color)4292108986 (0xFFD462BA)
YUV142.1180, 21.6338, 61.2865

Get Conversions and Harmonies as JSON or XML.


Details

The Hex color D462BA is a light color, and the websafe version is hex CC66CC. A complement of this color would be 62D47C, and the grayscale version is 8E8E8E.

A 20% lighter version of the original color is FF99F2, and 9B2A85 is the 20% darker color. If you saturate the color by 10%, you get D44DB5, and if you desaturate by 10%, it is D477BF.

Distribution

83%38%73%Red, Green, Blue83%38%73%Red, Yellow, Blue0%54%12%17%Cyan, Magenta, Yellow and Black17%62%27%Cyan, Magenta, Yellow

Brightness Gradient

These gradients show how the Hex color D462BA changes by changing the brightness by 10 percent. The first row shows a shift by +10% for each color and the second row -10%.

D462BAF17DD6FF99F2FFB5FFFFD2FFFFEFFFFFFFFF
D462BAB7479F9B2A857F006B64005349003B31002507000D000000

Saturation Gradient

Similar to the brightness gradients but the following show a change of the Hex color D462BA by changing the saturation by 10% instead.

D462BAD44DB5D438B0D422ABD40DA7D400A4
D462BAD477BFD48CC4D4A2C9D4B7CDD4CCD2D4E1D7D4F6DCD4FFE1D4FFE6

Harmonies

Analogous

The analogous color harmony consists of three colors that are next to each other on the color wheel.

Triad

The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.

Complementary

The complementary color scheme is a pair of colors which are on the opposite of each other on the color wheel.

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.

Square

The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.

Rectangle

The rectangle color scheme consists of four colors that form a rectangle on the color wheel.

Sweetspot

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

D462BAFFD6F67B62D480677A000000808080

SVG Images

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

#D462BA

Previews

White Background

This preview shows how the Hex color D462BA 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 Hex color D462BA looks on a black background. The color contrast ratio for these colors is 6.26, 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/.

Hex D462BA Background

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

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


CSS Examples

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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#D462BA } 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.


About Converting Colors

Converting Colors allows you to convert between 15 different color formats (hex, rgb, rgb percent, cmy, cmyk, hsv, hsl, cielab, cielch, xyz, yxy, ryb, android, decimal, yuv).

To convert, paste a string in one of these color formats, for example, "D462BA", 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 "314°, 54%, 83%" 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(314°, 54%, 83%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(58.30, 55.63, -25.58)", "CIELCH(58, 61.224, 335.308)", "YXY(26.2776, 0.3479, 0.2264)" and "CMYK(0.00, 0.54, 0.12, 0.17)".

Follow Converting Colors on Twitter and check out my UWP apps and other tools.