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
Hex484848
RGB72, 72, 72
RGB Percent28%, 28%, 28%
CMY0.7176, 0.7176, 0.7176
CMYK0.00, 0.00, 0.00, 0.72
HSL0°, 0%, 28%
HSV0°, 0%, 28%
XYZ6.1596, 6.4803, 7.0571
Conversions Part 2
FormatColor
RYB72, 72, 72
Decimal4737096
CIELab30.59, 0.00, -0.00
CIELCh31, 0.005, 296.813
Yxy6.4803, 0.3127, 0.3290
Android (android.graphics.Color)4282927176 (0xFF484848)
YUV72.0000, 0.0000, 0.0000

Details

The Hex color 484848 is a dark color, and the websafe version is hex 333333. A complement of this color would be 484848, and the grayscale version is 484848.

A 20% lighter version of the original color is 787878, and 1D1D1D is the 20% darker color. If you saturate the color by 10%, you get 484141, and if you desaturate by 10%, it is 484F4F.

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 484848 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 484848 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%.484848The Color 484848.FFFFFFThe Color FFFFFF.E4E4E4The Color E4E4E4.C8C8C8The Color C8C8C8.ADADADThe Color ADADAD.929292The Color 929292.787878The Color 787878.606060The Color 606060.484848The Color 484848.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]484848The Color 484848.000000The Color 000000.020202The Color 020202.1D1D1DThe Color 1D1D1D.323232The Color 323232.484848The Color 484848.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.484848The Color 484848.480707The Color 480707.480E0EThe Color 480E0E.481616The Color 481616.481D1DThe Color 481D1D.482424The Color 482424.482B2BThe Color 482B2B.483232The Color 483232.483A3AThe Color 483A3A.484141The Color 484141.484848The Color 484848.Saturation Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]484848The Color 484848.488989The Color 488989.488282The Color 488282.487A7AThe Color 487A7A.487373The Color 487373.486C6CThe Color 486C6C.486565The Color 486565.485E5EThe Color 485E5E.485656The Color 485656.484F4FThe Color 484F4F.484848The Color 484848.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.484848The Color 484848.B0B0B0The Color B0B0B0.303030The Color 303030.5E5E5EThe Color 5E5E5E.484848The Color 484848.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#484848

Previews

White Background

 

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

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

Black Background

 

This preview shows how the Hex color 484848 looks on a black background.

The color contrast ratio for these colors is 2.30, which fails to comply with the Web Content Accessibility Guidelines (WCAG) 2.0. Details can be found at https://www.w3.org/TR/WCAG20/.

Hex 484848 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
484848
Protanopia
494848
Deuteranopia
4F4648
Tritanopia
49474D

Trichromacy

Original Color
484848
Protanomaly
494848
Deuteranomaly
4C4748
Tritanomaly
49474B

Monochromacy

Original Color
484848
Achromatopsia
484848
Achromatomaly
484848

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#484848 } 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, "484848", 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%, 28%" 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%, 28%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(30.59, 0.00, -0.00)", "CIELCH(31, 0.005, 296.813)", "YXY(6.4803, 0.3127, 0.3290)" and "CMYK(0.00, 0.00, 0.00, 0.72)".


    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.