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 1
FormatColor
Hex330033
RGB51, 0, 51
RGB Percent20%, 0%, 20%
CMY0.8000, 1.0000, 0.8000
CMYK0.00, 1.00, 0.00, 0.80
HSL300°, 100%, 10%
HSV300°, 100%, 20%
XYZ1.9628, 0.9428, 3.2105
Conversions Part 2
FormatColor
RYB51, 0, 51
Decimal3342387
CIELab8.51, 31.55, -19.54
CIELCh9, 37.108, 328.233
Yxy0.9428, 0.3209, 0.1542
Android (android.graphics.Color)4281532467 (0xFF330033)
YUV21.0630, 14.7589, 26.2547

Details

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

A 20% lighter version of the original color is 642F62, and 000000 is the 20% darker color. If you saturate the color by 10%, you get 330033, and if you desaturate by 10%, it is 330533.

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 Hex color 330033 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 330033 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%.330033The Color 330033.FFE7FFThe Color FFE7FF.FFCAFFThe Color FFCAFF.ECAEE7The Color ECAEE7.D093CBThe Color D093CB.B479AFThe Color B479AF.986095The Color 986095.7E477BThe Color 7E477B.642F62The Color 642F62.4B184AThe Color 4B184A.330033The Color 330033.Brightness Gradient

🖌️ View as Color Bucket

Brightness Gradient[Translation for "HARMONY_BRIGHTNESS_1_TEXT" not found]330033The Color 330033.000000The Color 000000.1F001EThe Color 1F001E.330033The Color 330033.Brightness Gradient

🖌️ View as Color Bucket

Saturation Gradient[Translation for "HARMONY_SATURATION_1_TEXT" not found]330033The Color 330033.332E33The Color 332E33.332933The Color 332933.332433The Color 332433.331F33The Color 331F33.331A33The Color 331A33.331433The Color 331433.330F33The Color 330F33.330A33The Color 330A33.330533The Color 330533.330033The Color 330033.Saturation Gradient

🖌️ View as Color Bucket

Advertisment

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.0A1345The Color 0A1345.40001BThe Color 40001B.330033The Color 330033.0A1345The Color 0A1345.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.330033The Color 330033.00242FThe Color 00242F.211700The Color 211700.330033The Color 330033.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.330033The Color 330033.003300The Color 003300.330033The Color 330033.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.002516The Color 002516.021E00The Color 021E00.330033The Color 330033.002516The Color 002516.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.330033The Color 330033.002243The Color 002243.002300The Color 002300.340B00The Color 340B00.330033The Color 330033.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.330033The Color 330033.002527The Color 002527.002300The Color 002300.410005The Color 410005.330033The Color 330033.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.330033The Color 330033.212121The Color 212121.A1A1A1The Color A1A1A1.211521The Color 211521.000033The Color 000033.422E42The Color 422E42.330033The Color 330033.Sweetspot

🖌️ View as Color Bucket

SVG Images

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

#330033
Advertisment

Previews

White Background

 

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

The color contrast ratio for these colors is 17.67, 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 330033 looks on a black background.

The color contrast ratio for these colors is 1.19, 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 330033 Background

 

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

 

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

Color Blindness Simulation


Dichromacy

Original Color
330033
Protanopia
001C3C
Deuteranopia
111D30
Tritanopia
301415

Trichromacy

Original Color
330033
Protanomaly
131239
Deuteranomaly
1D1231
Tritanomaly
310D20

Monochromacy

Original Color
330033
Achromatopsia
151515
Achromatomaly
200D20
Advertisment

CSS Examples


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

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

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

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

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

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

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

Background

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

If only the background color should be changed .background{ background-color:#330033 } 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, "330033", 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°, 100%, 20%" 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°, 100%, 20%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(8.51, 31.55, -19.54)", "CIELCH(9, 37.108, 328.233)", "YXY(0.9428, 0.3209, 0.1542)" and "CMYK(0.00, 1.00, 0.00, 0.80)".


Advertisment