#12791f Hex Color
rgb(18, 121, 31)
Color Information
Name | First value | Second Value | Third Value | Fourth Value | Written As |
---|---|---|---|---|---|
HEX | 12 | 79 | 1f | - | #12791f |
RGB | 18 | 121 | 31 | - | rgb(18,121,31) |
HSL | 128 | 74% | 27% | - | hsl(128,74%,27%) |
HSV | 128 | 85% | 47% | - | hsv(128,85%,47%) |
XYZ | 7.3341 | 13.9023 | 3.5932 | - | xyz(7.3341,13.9023,3.5932) |
CIE-LAB | 44.09 | -46.15 | 39.46 | - | lab(44.09,-46.15,39.46) |
CMYK | 0.85123966942149 | 0 | 0.74380165289256 | 0.52549019607843 | cmyk(0.85123966942149,0,0.74380165289256,0.52549019607843) |
Description
The RGB value of color #12791f is rgb(18, 121, 31).
In the hex color #12791f, The value of Red is 18, value of Green is 121, and value of Blue is 31. The primary color is Green. Similarly, The HSL values for #12791f consists of 128° Hue, 74% Saturation, and 27% Lightness.
In the CMYK color model, the color #12791f can be represented as Cyan=0.85123966942149%, Magenta=0%, Yellow=0.74380165289256%, and Black=0.52549019607843%.
Shades of #12791f
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 #12791f
Tints in color are variations of a color that are created by adding white to it, resulting in a lighter tone.
Color Previews of #12791f
Preview of #12791f on White Background
The contrast ratio of #12791f with white color is 5.55
#12791f color will look good on a white background.
Preview of #12791f on black background
The contrast ratio of #12791f with black color is 3.78
Color Schemes of #12791f
Triadic Colors of #12791f
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 #12791f
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 #12791f
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 #12791f
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 #12791f
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: #12791f;
}
This is a sample text used for the color #12791f. 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: #12791f;
}
This is a sample text used for the color #12791f. 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 #12791f;
}
This is a sample text used for the color #12791f. 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 10.59%
Green 71.18%
Blue 18.24%
CMYK Percentage
Cyan 40.14
Magenta 0%
Yellow 35.08%
Black 24.78%
Comments on this color
Please login or signup to post a comment.
No comments yet.