Converting Colors


Conversions · Details · Harmonies · Images · Preview · 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
HexF0E2E2
RGB240, 226, 226
RGB Percent94%, 89%, 89%
CMY0.0588, 0.1137, 0.1137
CMYK0.00, 0.06, 0.06, 0.06
HSL0°, 32%, 91%
HSV0°, 6%, 94%
XYZ76.8590, 78.4090, 83.0350
Conversions Part 2
FormatColor
RYB240, 226, 226
Decimal15786722
CIELab90.97, 4.76, 1.70
CIELCh91, 5.057, 19.640
Yxy78.4090, 0.3225, 0.3290
Android (android.graphics.Color)4293976802 (0xFFF0E2E2)
YUV230.1860, -2.0637, 8.6069

Details

The RGB color 240, 226, 226 is a light color, and the websafe version is hex CCCCCC. A complement of this color would be 226, 240, 240, and the grayscale version is 230, 230, 230.

A 20% lighter version of the original color is 255, 255, 255, and 184, 171, 171 is the 20% darker color. If you saturate the color by 10%, you get 240, 202, 202, and if you desaturate by 10%, it is 240, 250, 250.

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 RGB color 240, 226, 226 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 RGB color 240, 226, 226 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%.240, 226, 226The Color 240, 226, 226.255, 255, 255The Color 255, 255, 255.255, 255, 255The Color 255, 255, 255.240, 226, 226The Color 240, 226, 226.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]240, 226, 226The Color 240, 226, 226.17, 0, 0The Color 17, 0, 0.37, 27, 27The Color 37, 27, 27.58, 48, 48The Color 58, 48, 48.82, 70, 70The Color 82, 70, 70.106, 94, 94The Color 106, 94, 94.131, 119, 119The Color 131, 119, 119.157, 144, 144The Color 157, 144, 144.184, 171, 171The Color 184, 171, 171.212, 198, 198The Color 212, 198, 198.240, 226, 226The Color 240, 226, 226.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.240, 226, 226The Color 240, 226, 226.240, 10, 10The Color 240, 10, 10.240, 34, 34The Color 240, 34, 34.240, 58, 58The Color 240, 58, 58.240, 82, 82The Color 240, 82, 82.240, 106, 106The Color 240, 106, 106.240, 130, 130The Color 240, 130, 130.240, 154, 154The Color 240, 154, 154.240, 178, 178The Color 240, 178, 178.240, 202, 202The Color 240, 202, 202.240, 226, 226The Color 240, 226, 226.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]240, 226, 226The Color 240, 226, 226.240, 255, 255The Color 240, 255, 255.240, 250, 250The Color 240, 250, 250.240, 226, 226The Color 240, 226, 226.Saturation Gradient

🖌️ View as Color Bucket

Harmonies

Analogous

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

AnalogousThe analogous color harmony consists of three colors that are next to each other on the color wheel.238, 226, 231The Color 238, 226, 231.239, 227, 222The Color 239, 227, 222.240, 226, 226The Color 240, 226, 226.238, 226, 231The Color 238, 226, 231.Analogous

🖌️ View as Color Bucket

Triad

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

TriadThe triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.240, 226, 226The Color 240, 226, 226.223, 230, 238The Color 223, 230, 238.224, 231, 223The Color 224, 231, 223.240, 226, 226The Color 240, 226, 226.Triad

🖌️ View as Color Bucket

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.240, 226, 226The Color 240, 226, 226.226, 240, 240The Color 226, 240, 240.240, 226, 226The Color 240, 226, 226.Complementary

🖌️ View as Color Bucket

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.

Split ComplementarySplit-complementary colors differ from the complementary color scheme. The scheme consists of three colors, the original color and two neighbors of the complement color.219, 231, 236The Color 219, 231, 236.220, 232, 227The Color 220, 232, 227.240, 226, 226The Color 240, 226, 226.219, 231, 236The Color 219, 231, 236.Split Complementary

🖌️ View as Color Bucket

Square

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

SquareThe square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.240, 226, 226The Color 240, 226, 226.228, 228, 238The Color 228, 228, 238.218, 232, 232The Color 218, 232, 232.230, 230, 220The Color 230, 230, 220.240, 226, 226The Color 240, 226, 226.Square

🖌️ 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.240, 226, 226The Color 240, 226, 226.221, 230, 238The Color 221, 230, 238.218, 232, 232The Color 218, 232, 232.237, 228, 220The Color 237, 228, 220.240, 226, 226The Color 240, 226, 226.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.240, 226, 226The Color 240, 226, 226.128, 128, 128The Color 128, 128, 128.0, 0, 0The Color 0, 0, 0.128, 125, 125The Color 128, 125, 125.240, 226, 240The Color 240, 226, 240.255, 250, 250The Color 255, 250, 250.240, 226, 226The Color 240, 226, 226.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#F0E2E2

Previews

White Background

 

This preview shows how the RGB color 240, 226, 226 looks on a white background.

The color contrast ratio for these colors is 1.26, 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 RGB color 240, 226, 226 looks on a black background.

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

RGB 240, 226, 226 Background

 

This preview shows how black text looks on a background with the RGB color 240, 226, 226.

 

This preview shows how white text looks on a background with the RGB color 240, 226, 226.

CSS Examples


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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:rgb(240, 226, 226) } 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, "F0E2E2", 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°, 6%, 94%" 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°, 6%, 94%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(90.97, 4.76, 1.70)", "CIELCH(91, 5.057, 19.640)", "YXY(78.4090, 0.3225, 0.3290)" and "CMYK(0.00, 0.06, 0.06, 0.06)".


125x125 Fiverr Pro  Grammarly Logo    10% discount- Jump- start your career

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.