#ff040c Hex Color
rgb(255, 4, 12)
Color Information
| Name | First value | Second Value | Third Value | Fourth Value | Written As |
|---|---|---|---|---|---|
| HEX | ff | 04 | 0c | - | #ff040c |
| RGB | 255 | 4 | 12 | - | rgb(255,4,12) |
| HSL | 358 | 100% | 51% | - | hsl(358,100%,51%) |
| HSV | 358 | 98% | 100% | - | hsv(358,98%,100%) |
| XYZ | 41.3498 | 21.3734 | 2.2939 | - | xyz(41.3498,21.3734,2.2939) |
| CIE-LAB | 53.36 | 79.92 | 64.34 | - | lab(53.36,79.92,64.34) |
| CMYK | 0 | 0.9843137254902 | 0.95294117647059 | 0 | cmyk(0,0.9843137254902,0.95294117647059,0) |
Description
The RGB value of color #ff040c is rgb(255, 4, 12).
In the hex color #ff040c, The value of Red is 255, value of Green is 4, and value of Blue is 12. The primary color is Red. Similarly, The HSL values for #ff040c consists of 358° Hue, 100% Saturation, and 51% Lightness.
In the CMYK color model, the color #ff040c can be represented as Cyan=0%, Magenta=0.9843137254902%, Yellow=0.95294117647059%, and Black=0%.
Shades of #ff040c
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 #ff040c
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #ff040c
Preview of #ff040c on White Background
The contrast ratio of #ff040c with white color is 3.98
Preview of #ff040c on black background
The contrast ratio of #ff040c with black color is 5.27
#ff040c color will look good with a black background.
Color Schemes of #ff040c
Triadic Colors of #ff040c
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 #ff040c
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 #ff040c
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 #ff040c
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: #ff040c;
}
This is a sample text used for the color #ff040c. 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: #ff040c;
}
This is a sample text used for the color #ff040c. 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 #ff040c;
}
This is a sample text used for the color #ff040c. 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 94.1%
Green 1.48%
Blue 4.43%
CMYK Percentage
Cyan 0
Magenta 50.81%
Yellow 49.19%
Black 0%
Comments on this color
Please login or signup to post a comment.
No comments yet.