Format | Color |
---|---|
RGB | 130, 24, 251 |
RGB Percent | 51%, 9%, 98% |
CMY | 0.4897, 0.9062, 0.0138 |
HSV | 268°, 90%, 99% |
CIELab | 41.85, 79.50, -89.78 |
XYZ | 27.0370, 12.4002, 92.6333 |
RYB | 130, 24, 251 |
Decimal | 8526075 |
Format | Color |
---|---|
Hex | 8218FB |
CMYK | 0.48, 0.90, 0.00, 0.01 |
HSL | 268°, 97%, 54% |
CIELCh | 42, 119.918, 311.526 |
Yxy | 12.4002, 0.2047, 0.0939 |
Android (android.graphics.Color) | 4286716155 (0xFF8218FB) |
YUV | 81.5720, 83.5280, 42.4714 |
Get Conversions and Harmonies as JSON or XML.
The HSL color 268°, 97%, 54% is a dark color, and the websafe version is hex 9900FF. The color can be described as middle washed purple. A complement of this color would be 88°, 97%, 54%, and the grayscale version is 0°, 0%, 76%.
A 20% lighter version of the original color is 79°, 100%, 69%, and 95°, 100%, 38% is the 20% darker color. If you saturate the color by 10%, you get 88°, 100%, 49%, and if you desaturate by 10%, it is 88°, 97%, 59%.
These gradients show how the HSL color 88°, 97%, 54% changes by changing the brightness by 10 percent. The first row shows a shift by +10% for each color and the second row -10%.
88°, 97%, 54% | 85°, 100%, 63% | 79°, 100%, 69% | 68°, 100%, 75% | 60°, 100%, 81% | 60°, 100%, 87% | 60°, 100%, 93% | 60°, 100%, 99% | 0°, 0%, 100% |
88°, 97%, 54% | 89°, 100%, 44% | 95°, 100%, 38% | 104°, 100%, 33% | 120°, 100%, 27% | 120°, 100%, 22% | 120°, 100%, 17% | 120°, 100%, 12% | 120°, 100%, 8% | 0°, 0%, 0% |
Similar to the brightness gradients but the following show a change of the HSL color 88°, 97%, 54% by changing the saturation by 10% instead.
88°, 97%, 54% | 88°, 97%, 59% | 88°, 96%, 64% | 88°, 96%, 69% | 88°, 95%, 74% | 88°, 94%, 79% | 88°, 92%, 84% | 88°, 88%, 89% | 88°, 79%, 93% | 88°, 15%, 98% |
The analogous color harmony consists of three colors that are next to each other on the color wheel.
The triadic color harmony groups three colors that are evenly spaced from another and form a triangle on the color wheel.
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.
The square scheme is like the rectangle color scheme, but the four colors are evenly spaced on the color wheel.
The rectangle color scheme consists of four colors that form a rectangle on the color wheel.
The sweet spot groups the original color and five complimentary colors.
A selection of SVG images using the hex version #8218FB of the current color.
This preview shows how the HSL color 268°, 97%, 54% looks on a white background.
This preview shows how the HSL color 268°, 97%, 54% looks on a black background.
This preview shows how black text looks on a background with the HSL color 268°, 97%, 54%.
This preview shows how white text looks on a background with the HSL color 268°, 97%, 54%.
The CSS property to change the color of the text to HSL 268°, 97%, 54% is called "color". The color property can be set on classes, ids or directly on the HTML element .text, #text, p{ color:hsl(268, 97%, 54%) }
.
This example shows how text in the color hsl(268, 97%, 54%) looks like.
If you want to add a text shadow in that color use .shadow{ text-shadow: 4px 4px 2px hsl(268, 97%, 54%) }
.
Here you see how black text with a 4 pixel hsl(268, 97%, 54%) colored shadow looks like.
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 HSL 268°, 97%, 54% is called "border". The border property can be set on classes, ids or directly on the HTML element .border, #border, table{ border:4px solid hsl(268, 97%, 54%) }
.
If only the border color should be changed .border{ border-color:hsl(268, 97%, 54%) }
can be used.
Here you see how a box with a 4 pixel hsl(268, 97%, 54%) colored shadow looks like.
If you want to add a box shadow in that color use .boxshadow{ -moz-box-shadow:4px 4px 4px 4px hsl(268, 97%, 54%); -webkit-box-shadow:4px 4px 4px 4px hsl(268, 97%, 54%); box-shadow:4px 4px 4px 4px hsl(268, 97%, 54%) }
.
The CSS property to change the background color of an element to HSL 268°, 97%, 54% is called "background". The background property can be set on classes, ids or directly on the HTML element .background, #background, body{ background:hsl(268, 97%, 54%) }
.
If only the background color should be changed .background{ background-color:hsl(268, 97%, 54%) }
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.
Converting Colors allows you to convert between 15 different color formats (hex, rgb, rgb percent, cmy, cmyk, hsv, hsl, cielab, cielch, xyz, yxy, ryb, android, decimal, yuv).
To convert, paste a string in one of these color formats, for example, "8218FB", 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 "268°, 90%, 99%" 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(268°, 90%, 99%)" will give you the correct HSV color as there is no need to guess the format. Other examples would be "CIELAB(41.85, 79.50, -89.78)", "CIELCH(42, 119.918, 311.526)", "YXY(12.4002, 0.2047, 0.0939)" and "CMYK(0.48, 0.90, 0.00, 0.01)".
Follow Converting Colors on Twitter and check out my UWP apps and other tools.