#0c42cc Hex Color
rgb(12, 66, 204)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 0c | 42 | cc | - | #0c42cc |
RGB | 12 | 66 | 204 | - | rgb(12,66,204) |
HSL | 223 | 89% | 42% | - | hsl(223,89%,42%) |
HSV | 223 | 94% | 80% | - | hsv(223,94%,80%) |
XYZ | 12.9989 | 8.3342 | 58.0503 | - | xyz(12.9989,8.3342,58.0503) |
CIE-LAB | 34.67 | 39.21 | -74.81 | - | lab(34.67,39.21,-74.81) |
CMYK | 0.94117647058824 | 0.67647058823529 | 0 | 0.2 | cmyk(0.94117647058824,0.67647058823529,0,0.2) |
Description
The RGB value of color #0c42cc is rgb(12, 66, 204).
In the hex color #0c42cc, The value of Red is 12, value of Green is 66, and value of Blue is 204. The primary color is Blue. Similarly, The HSL values for #0c42cc consists of 223° Hue, 89% Saturation, and 42% Lightness.
In the CMYK color model, the color #0c42cc can be represented as Cyan=0.94117647058824%, Magenta=0.67647058823529%, Yellow=0%, and Black=0.2%.
Shades of #0c42cc
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 #0c42cc
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #0c42cc
Preview of #0c42cc on White Background
The contrast ratio of #0c42cc with white color is 7.87
#0c42cc color will look good on a white background.
Preview of #0c42cc on black background
The contrast ratio of #0c42cc with black color is 2.67
Color Schemes of #0c42cc
Triadic Colors of #0c42cc
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 #0c42cc
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 #0c42cc
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 #0c42cc
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.
Monochromatic Colors of #0c42cc
Monochromatic colors are variations of a single color that are created by using different shades, tints, and tones of that color which results in a harmonious and cohesive color scheme.
Color Usage
You can set the css color of a text using:
.class{
color: #0c42cc;
}
This is a sample text used for the color #0c42cc. 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: #0c42cc;
}
This is a sample text used for the color #0c42cc. 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 #0c42cc;
}
This is a sample text used for the color #0c42cc. 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.26%
Green 23.4%
Blue 72.34%
CMYK Percentage
Cyan 51.78
Magenta 37.22%
Yellow 0%
Black 11%
Comments on this color
Please login or signup to post a comment.
No comments yet.