#987ecc Hex Color
rgb(152, 126, 204)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 98 | 7e | cc | - | #987ecc |
RGB | 152 | 126 | 204 | - | rgb(152,126,204) |
HSL | 260 | 43% | 65% | - | hsl(260,43%,65%) |
HSV | 260 | 38% | 80% | - | hsv(260,38%,80%) |
XYZ | 31.3088 | 25.9567 | 60.4867 | - | xyz(31.3088,25.9567,60.4867) |
CIE-LAB | 58 | 26.36 | -36.83 | - | lab(58,26.36,-36.83) |
CMYK | 0.25490196078431 | 0.38235294117647 | 0 | 0.2 | cmyk(0.25490196078431,0.38235294117647,0,0.2) |
Description
The RGB value of color #987ecc is rgb(152, 126, 204).
In the hex color #987ecc, The value of Red is 152, value of Green is 126, and value of Blue is 204. The primary color is Blue. Similarly, The HSL values for #987ecc consists of 260° Hue, 43% Saturation, and 65% Lightness.
In the CMYK color model, the color #987ecc can be represented as Cyan=0.25490196078431%, Magenta=0.38235294117647%, Yellow=0%, and Black=0.2%.
Shades of #987ecc
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 #987ecc
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #987ecc
Preview of #987ecc on White Background
The contrast ratio of #987ecc with white color is 3.39
Preview of #987ecc on black background
The contrast ratio of #987ecc with black color is 6.19
#987ecc color will look good with a black background.
Color Schemes of #987ecc
Triadic Colors of #987ecc
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 #987ecc
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 #987ecc
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 #987ecc
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: #987ecc;
}
This is a sample text used for the color #987ecc. 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: #987ecc;
}
This is a sample text used for the color #987ecc. 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 #987ecc;
}
This is a sample text used for the color #987ecc. 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 31.54%
Green 26.14%
Blue 42.32%
CMYK Percentage
Cyan 30.44
Magenta 45.67%
Yellow 0%
Black 23.89%
Comments on this color
Please login or signup to post a comment.
No comments yet.