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