Converting Colors

Conversions · Details · Harmonies · Images · Preview · CSS · Help

Conversions

New: Converting Colors offers a new tool to do mass color conversions.

FormatColor
HSL198°, 87%, 97%
CIELCh98, 3.690, 233.057
Yxy94.2277, 0.3048, 0.3251
Android (android.graphics.Color)4294048510 (0xFFF1FAFE)
YUV247.7650, 3.0739, -5.9329

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


Details

The YUV color 247.7650, 3.0739, -5.9329 is a light color, and the websafe version is hex FFFFFF. A complement of this color would be 247.2350, -3.0739, 5.9329, and the grayscale version is 248.0000, 0.0000, 0.0000.

A 20% lighter version of the original color is 255.0000, 0.0000, 0.0000, and 191.6510, 2.6371, -5.8329 is the 20% darker color. If you saturate the color by 10%, you get 235.5940, 9.0742, -17.1839, and if you desaturate by 10%, it is 254.8860, -0.4368, 0.1000.

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 YUV color 247.7650, 3.0739, -5.9329 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%.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.255.0000, 0.0000, 0.0000The Color 255.0000, 0.0000, 0.0000.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.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%.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.22.2490, 2.3422, -4.6034The Color 22.2490, 2.3422, -4.6034.43.2490, 2.3422, -4.6034The Color 43.2490, 2.3422, -4.6034.64.9500, 2.4896, -5.2182The Color 64.9500, 2.4896, -5.2182.87.9500, 2.4896, -5.2182The Color 87.9500, 2.4896, -5.2182.112.9500, 2.4897, -5.2181The Color 112.9500, 2.4897, -5.2181.138.0640, 2.9264, -5.3181The Color 138.0640, 2.9264, -5.3181.164.0640, 2.9264, -5.3181The Color 164.0640, 2.9264, -5.3181.191.6510, 2.6371, -5.8329The Color 191.6510, 2.6371, -5.8329.219.0640, 2.9264, -5.3181The Color 219.0640, 2.9264, -5.3181.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.Brightness Gradient

Saturation Gradient

Similar to the brightness gradients but the following show a change of the YUV color 247.7650, 3.0739, -5.9329 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.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.138.2040, 57.0874, -110.6809The Color 138.2040, 57.0874, -110.6809.150.0870, 51.2291, -98.3003The Color 150.0870, 51.2291, -98.3003.162.2580, 45.2288, -87.0493The Color 162.2580, 45.2288, -87.0493.174.7280, 39.0811, -75.1835The Color 174.7280, 39.0811, -75.1835.186.8990, 33.0808, -63.9324The Color 186.8990, 33.0808, -63.9324.199.0700, 27.0805, -52.6814The Color 199.0700, 27.0805, -52.6814.211.5400, 20.9328, -40.8156The Color 211.5400, 20.9328, -40.8156.223.1240, 15.2219, -29.0497The Color 223.1240, 15.2219, -29.0497.235.5940, 9.0742, -17.1839The Color 235.5940, 9.0742, -17.1839.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.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.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.254.8860, -0.4368, 0.1000The Color 254.8860, -0.4368, 0.1000.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.Saturation Gradient

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.247.7110, 1.6215, -6.7625The Color 247.7110, 1.6215, -6.7625.248.1890, 3.3578, -3.6738The Color 248.1890, 3.3578, -3.6738.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.247.7110, 1.6215, -6.7625The Color 247.7110, 1.6215, -6.7625.Analogous

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.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.247.9030, -2.9102, 0.0851The Color 247.9030, -2.9102, 0.0851.249.0330, -0.0163, 5.2331The Color 249.0330, -0.0163, 5.2331.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.Triad

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.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.247.2350, -3.0739, 5.9329The Color 247.2350, -3.0739, 5.9329.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.Complementary

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.248.6970, -3.7946, 3.7737The Color 248.6970, -3.7946, 3.7737.248.6910, -1.3267, 5.5330The Color 248.6910, -1.3267, 5.5330.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.248.6970, -3.7946, 3.7737The Color 248.6970, -3.7946, 3.7737.Split Complementary

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.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.247.5220, -1.7363, -3.0888The Color 247.5220, -1.7363, -3.0888.248.9360, -2.9264, 5.3181The Color 248.9360, -2.9264, 5.3181.249.1790, 1.8838, 2.4740The Color 249.1790, 1.8838, 2.4740.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.Square

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.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.248.3870, -3.6418, 1.4146The Color 248.3870, -3.6418, 1.4146.248.9360, -2.9264, 5.3181The Color 248.9360, -2.9264, 5.3181.248.4990, 3.2050, -1.3146The Color 248.4990, 3.2050, -1.3146.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.Rectangle

Sweetspot

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

SweetspotThe sweet spot groups the original color and five complimentary colors.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.128.0000, 0.0000, 0.0000The Color 128.0000, 0.0000, 0.0000.0.0000, 0.0000, 0.0000The Color 0.0000, 0.0000, 0.0000.126.5160, 0.7316, -1.3295The Color 126.5160, 0.7316, -1.3295.249.0870, -2.0149, -7.0923The Color 249.0870, -2.0149, -7.0923.252.3310, 1.3158, -2.0443The Color 252.3310, 1.3158, -2.0443.247.7650, 3.0739, -5.9329The Color 247.7650, 3.0739, -5.9329.Sweetspot

SVG Images

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

#F1FAFE

Previews

White Background

This preview shows how the YUV color 247.7650, 3.0739, -5.9329 looks on a white background.

The color contrast ratio for these colors is 1.06, 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 YUV color 247.7650, 3.0739, -5.9329 looks on a black background.

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

YUV 247.7650, 3.0739, -5.9329 Background

This preview shows how black text looks on a background with the YUV color 247.7650, 3.0739, -5.9329.

This preview shows how white text looks on a background with the YUV color 247.7650, 3.0739, -5.9329.


CSS Examples


The CSS property to change the color of the text to YUV 247.7650, 3.0739, -5.9329 is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:rgb(241, 250, 254) }.

This example shows how text in the color rgb(241, 250, 254) looks like.

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

Here you see how black text with a 4 pixel rgb(241, 250, 254) 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 YUV 247.7650, 3.0739, -5.9329 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(241, 250, 254) }.

If only the border color should be changed .border{ border-color:rgb(241, 250, 254) } can be used.

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

Background

The CSS property to change the background color of an element to YUV 247.7650, 3.0739, -5.9329 is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:rgb(241, 250, 254) }.

If only the background color should be changed .background{ background-color:rgb(241, 250, 254) } 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, "F1FAFE", 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 "198°, 5%, 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(198°, 5%, 100%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(97.72, -2.22, -2.95)", "CIELCH(98, 3.690, 233.057)", "YXY(94.2277, 0.3048, 0.3251)" and "CMYK(0.05, 0.02, 0.00, 0.00)".