COLOR #254212

HEX: #254212
RGB: (37,66,18)

Color info

#254212 contains red, green and blue colors in about the same proportion. Web safe color of #254212 is #333300 (or #330).

RGB color model

#254212 color RGB value is (37,66,18).

  • red value is 37;
  • green value is 66;
  • blue value is 18.
RGB:
(37,66,18)
(15%,26%,7%)

RGB channels and saturation

R 37 of 255 = 15%
G 66 of 255 = 26%
B 18 of 255 = 7%

37
66
18

R + G + B ~ 16%. #254212 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 66 + 18 = 121 (100%)
R 37 of 121 ~ 30.58%
G 66 of 121 ~ 54.55%
B 18 of 121 ~ 14.88%

%30.58
%54.55
%14.88

CMYK color model

#254212 color CMYK value is (44,0,73,74).

  • cyan value is 43.94%
  • magenta value is 0.00%
  • yellow value is 72.73%
  • key color value is 74.12%
CMYK:
(44,0,73,74)
C44M0Y73K74 
(44%,0%,73%,74%)
(0.44/0.00/0.73/0.74)	

CMYK percentages

%43.94
%0
%72.73
%74.12

Codes

Color #254212 in popluar color models

254212
RGB376618
HSL96°57.14%16.47%
HSB/HSV96°72.73%25.88%
CMYK43.94%0.00%72.73%
74.12%

Color #254212 in popluar number systems.

HEX254212
Decimal376618
Binary100101100001010010
Octal4510222

Shades and tints

Shades of #254212

#254212
(37,66,18)
#223C11
(34,60,17)
#1F3610
(31,54,16)
#1C300F
(28,48,15)
#192A0E
(25,42,14)
#16240D
(22,36,13)
#131E0C
(19,30,12)
#10180B
(16,24,11)
#0D120A
(13,18,10)
#0A0C09
(10,12,9)
#070608
(7,6,8)
#000000
(0,0,0)

Tints of #254212

#254212
(37,66,18)
#385327
(56,83,39)
#4B643C
(75,100,60)
#5E7551
(94,117,81)
#718666
(113,134,102)
#84977B
(132,151,123)
#97A890
(151,168,144)
#AAB9A5
(170,185,165)
#BDCABA
(189,202,186)
#D0DBCF
(208,219,207)
#E3ECE4
(227,236,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #254212 color. Also use rgb(37,66,18) instead hex code.

Text Font Color

.myTextColor { color: #254212; }

<p style="color:#254212">This sample text font color is #254212.</p>

This text font color is #254212.


Background Color

.myBgColor { background-color: #254212; }

<div style="background-color:#254212">Inner text</div>

This div background color is #254212.


Border color

.myBorderColor { border: 1px solid #254212; }

<div style="border:3px solid #254212">Div</div>

This div border color is #254212.


Opacity

.myOpacity80 { color: #254212; opacity: 0.8; }

<p style="color:#254212;opacity:0.8;">80%</p>

Text with #254212 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #254212;}

<p style="text-shadow: 3px 3px 1px #254212">Text here.</p>

This text has shadow with #254212 color.

.textShadow {text-shadow: 3px 3px 1px #254212, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #254212, 5px 5px 20px red">Text here.</p>

This text has shadow with #254212 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#254212, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#254212, Direction=45, Strength=4)">Text</p>

This text has shadow with #254212 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #254212;
  -webkit-box-shadow:	1px 1px 3px 2px #254212;
  box-shadow:		1px 1px 3px 2px #254212;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #254212;
-webkit-box-shadow: 1px 1px 3px 2px #254212;
box-shadow:1px 1px 3px 2px #254212;">
Div content here</div>
This div box has shadow with color #254212.

Preview

Color preview on black background

This text has color #254212 on black background.


Color preview on white background

This text has color #254212 on white background.



Black color preview on #254212 background

This text has black color on #254212 background.


White color preview on #254212 background

This text has white color on #254212 background.