#5f2ac6 Hex Color
rgb(95, 42, 198)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 5f | 2a | c6 | - | #5f2ac6 |
RGB | 95 | 42 | 198 | - | rgb(95,42,198) |
HSL | 260 | 65% | 47% | - | hsl(260,65%,47%) |
HSV | 260 | 79% | 78% | - | hsv(260,79%,78%) |
XYZ | 15.7403 | 8.166 | 54.1727 | - | xyz(15.7403,8.166,54.1727) |
CIE-LAB | 34.33 | 57.65 | -71.71 | - | lab(34.33,57.65,-71.71) |
CMYK | 0.52020202020202 | 0.78787878787879 | 0 | 0.22352941176471 | cmyk(0.52020202020202,0.78787878787879,0,0.22352941176471) |
Description
The RGB value of color #5f2ac6 is rgb(95, 42, 198).
In the hex color #5f2ac6, The value of Red is 95, value of Green is 42, and value of Blue is 198. The primary color is Blue. Similarly, The HSL values for #5f2ac6 consists of 260° Hue, 65% Saturation, and 47% Lightness.
In the CMYK color model, the color #5f2ac6 can be represented as Cyan=0.52020202020202%, Magenta=0.78787878787879%, Yellow=0%, and Black=0.22352941176471%.
Shades of #5f2ac6
Shades in a color are variations of the color that are created by adding black to it which results in a darker tone.
Tints of #5f2ac6
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #5f2ac6
Preview of #5f2ac6 on White Background
The contrast ratio of #5f2ac6 with white color is 7.98
#5f2ac6 color will look good on a white background.
Preview of #5f2ac6 on black background
The contrast ratio of #5f2ac6 with black color is 2.63
Color Schemes of #5f2ac6
Triadic Colors of #5f2ac6
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #5f2ac6
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Triadic Colors of #5f2ac6
Triadic colors are three colors that are evenly spaced around the color wheel and are therefore harmonious when used together in a design.
Analogous Colors of #5f2ac6
Analogous colors are colors that are next to each other on the color wheel and share a similar hue, creating a cohesive and harmonious color scheme.
Color Usage
You can set the css color of a text using:
.class{
color: #5f2ac6;
}
This is a sample text used for the color #5f2ac6. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css background color of a box using:
.box{
background-color: #5f2ac6;
}
This is a sample text used for the color #5f2ac6. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
You can set the css border of a box using:
.box{
border:4px solid #5f2ac6;
}
This is a sample text used for the color #5f2ac6. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Animi sunt eveniet natus dolor minima, sit quaerat? Dignissimos unde alias debitis amet ducimus modi, eum quos ullam blanditiis aliquam necessitatibus ex.
RGB Percentage
Red 28.36%
Green 12.54%
Blue 59.1%
CMYK Percentage
Cyan 33.96
Magenta 51.44%
Yellow 0%
Black 14.59%
Comments on this color
Please login or signup to post a comment.
No comments yet.