#ec0c1c Hex Color
rgb(236, 12, 28)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | ec | 0c | 1c | - | #ec0c1c |
RGB | 236 | 12 | 28 | - | rgb(236,12,28) |
HSL | 356 | 90% | 49% | - | hsl(356,90%,49%) |
HSV | 356 | 95% | 93% | - | hsv(356,95%,93%) |
XYZ | 34.9331 | 18.1797 | 2.7664 | - | xyz(34.9331,18.1797,2.7664) |
CIE-LAB | 49.71 | 74.91 | 54.5 | - | lab(49.71,74.91,54.5) |
CMYK | 0 | 0.94915254237288 | 0.88135593220339 | 0.074509803921569 | cmyk(0,0.94915254237288,0.88135593220339,0.074509803921569) |
Description
The RGB value of color #ec0c1c is rgb(236, 12, 28).
In the hex color #ec0c1c, The value of Red is 236, value of Green is 12, and value of Blue is 28. The primary color is Red. Similarly, The HSL values for #ec0c1c consists of 356° Hue, 90% Saturation, and 49% Lightness.
In the CMYK color model, the color #ec0c1c can be represented as Cyan=0%, Magenta=0.94915254237288%, Yellow=0.88135593220339%, and Black=0.074509803921569%.
Shades of #ec0c1c
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 #ec0c1c
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #ec0c1c
Preview of #ec0c1c on White Background
The contrast ratio of #ec0c1c with white color is 4.53
Preview of #ec0c1c on black background
The contrast ratio of #ec0c1c with black color is 4.64
#ec0c1c color will look good with a black background.
Color Schemes of #ec0c1c
Triadic Colors of #ec0c1c
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 #ec0c1c
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 #ec0c1c
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 #ec0c1c
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: #ec0c1c;
}
This is a sample text used for the color #ec0c1c. 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: #ec0c1c;
}
This is a sample text used for the color #ec0c1c. 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 #ec0c1c;
}
This is a sample text used for the color #ec0c1c. 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 85.51%
Green 4.35%
Blue 10.14%
CMYK Percentage
Cyan 0
Magenta 49.82%
Yellow 46.26%
Black 3.91%
Comments on this color
Please login or signup to post a comment.
No comments yet.