Converting Colors

Advertisment

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 2
FormatColor
RYB255, 102, 255
Decimal16738047
CIELab68.00, 76.24, -48.63
CIELCh68, 90.426, 327.467
Yxy37.9720, 0.3193, 0.1893
Android (android.graphics.Color)4294928127 (0xFFFF66FF)
YUV165.1890, 44.2768, 78.7642

Details

The CIELCh color 68, 90.426, 327.467 is a light color, and the websafe version is hex FF66FF. A complement of this color would be 90, 91.437, 139.151, and the grayscale version is 68, 0.008, 296.813.

A 20% lighter version of the original color is 78, 58.540, 326.437, and 48, 90.619, 327.421 is the 20% darker color. If you saturate the color by 10%, you get 65, 100.939, 327.793, and if you desaturate by 10%, it is 72, 77.663, 327.062.

Advertisment

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 CIELCh color 68, 90.426, 327.467 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 CIELCh color 68, 90.426, 327.467 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%.68, 90.426, 327.467The Color 68, 90.426, 327.467.100, 90.426, 327.467The Color 100, 90.426, 327.467.98, 90.426, 327.467The Color 98, 90.426, 327.467.88, 90.426, 327.467The Color 88, 90.426, 327.467.78, 90.426, 327.467The Color 78, 90.426, 327.467.68, 90.426, 327.467The Color 68, 90.426, 327.467.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]68, 90.426, 327.467The Color 68, 90.426, 327.467.0, 90.426, 327.467The Color 0, 90.426, 327.467.8, 90.426, 327.467The Color 8, 90.426, 327.467.18, 90.426, 327.467The Color 18, 90.426, 327.467.28, 90.426, 327.467The Color 28, 90.426, 327.467.38, 90.426, 327.467The Color 38, 90.426, 327.467.48, 90.426, 327.467The Color 48, 90.426, 327.467.58, 90.426, 327.467The Color 58, 90.426, 327.467.68, 90.426, 327.467The Color 68, 90.426, 327.467.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.68, 90.426, 327.467The Color 68, 90.426, 327.467.60, 115.559, 328.232The Color 60, 115.559, 328.232.61, 113.429, 328.169The Color 61, 113.429, 328.169.62, 108.687, 328.028The Color 62, 108.687, 328.028.65, 100.939, 327.793The Color 65, 100.939, 327.793.68, 90.426, 327.467The Color 68, 90.426, 327.467.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]68, 90.426, 327.467The Color 68, 90.426, 327.467.100, 0.006, 200.810The Color 100, 0.006, 200.810.100, 0.006, 200.808The Color 100, 0.006, 200.808.100, 0.006, 200.806The Color 100, 0.006, 200.806.100, 0.016, 304.594The Color 100, 0.016, 304.594.94, 15.938, 324.976The Color 94, 15.938, 324.976.88, 31.985, 325.537The Color 88, 31.985, 325.537.82, 47.894, 326.080The Color 82, 47.894, 326.080.77, 63.286, 326.594The Color 77, 63.286, 326.594.72, 77.663, 327.062The Color 72, 77.663, 327.062.68, 90.426, 327.467The Color 68, 90.426, 327.467.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

Harmonies

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.68, 90.426, 327.467The Color 68, 90.426, 327.467.90, 91.437, 139.151The Color 90, 91.437, 139.151.68, 90.426, 327.467The Color 68, 90.426, 327.467.Complementary

🖌️ View as Color Bucket

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.68, 90.426, 327.467The Color 68, 90.426, 327.467.68, 90.426, 197.467The Color 68, 90.426, 197.467.68, 90.426, 147.467The Color 68, 90.426, 147.467.68, 90.426, 17.467The Color 68, 90.426, 17.467.68, 90.426, 327.467The Color 68, 90.426, 327.467.Rectangle

🖌️ View as Color Bucket

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.68, 90.423, 327.467The Color 68, 90.423, 327.467.53, 0.007, 296.813The Color 53, 0.007, 296.813.0, 0.000, 0.000The Color 0, 0.000, 0.000.46, 20.004, 325.588The Color 46, 20.004, 325.588.52, 86.328, 299.205The Color 52, 86.328, 299.205.89, 28.774, 325.426The Color 89, 28.774, 325.426.68, 90.423, 327.467The Color 68, 90.423, 327.467.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#FF66FF
Advertisment

Previews

White Background

 

This preview shows how the CIELCh color 68, 90.426, 327.467 looks on a white background.

The color contrast ratio for these colors is 2.44, 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 CIELCh color 68, 90.426, 327.467 looks on a black background.

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

CIELCh 68, 90.426, 327.467 Background

 

This preview shows how black text looks on a background with the CIELCh color 68, 90.426, 327.467.

 

This preview shows how white text looks on a background with the CIELCh color 68, 90.426, 327.467.

Color Blindness Simulation


Dichromacy

Original Color
68, 90.426, 327.467
Protanopia
68, 50.926, 285.202
Deuteranopia
68, 44.010, 282.116
Tritanopia
68, 44.585, 17.450

Trichromacy

Original Color
68, 90.426, 327.467
Protanomaly
66, 63.994, 305.369
Deuteranomaly
66, 59.736, 305.905
Tritanomaly
67, 55.529, 349.431

Monochromacy

Original Color
68, 90.426, 327.467
Achromatopsia
68, 0.008, 296.813
Achromatomaly
66, 36.802, 325.966
Advertisment

CSS Examples


The CSS property to change the color of the text to CIELCh 68, 90.426, 327.467 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(255, 102, 255) }.

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

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

Here you see how black text with a 4 pixel rgb(255, 102, 255) 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 CIELCh 68, 90.426, 327.467 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(255, 102, 255) }.

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

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

Background

The CSS property to change the background color of an element to CIELCh 68, 90.426, 327.467 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(255, 102, 255) }.

If only the background color should be changed .background{ background-color:rgb(255, 102, 255) } 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, "FF66FF", 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 "300°, 60%, 100%" 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(300°, 60%, 100%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(68.00, 76.24, -48.63)", "CIELCH(68, 90.426, 327.467)", "YXY(37.9720, 0.3193, 0.1893)" and "CMYK(0.00, 0.60, 0.00, 0.00)".


Advertisment