COLOR #254F18

HEX: #254F18
RGB: (37,79,24)

Color info

#254F18 contains red, green and blue colors in about the same proportion. Web safe color of #254F18 is #336600 (or #360).

RGB color model

#254F18 color RGB value is (37,79,24).

  • red value is 37;
  • green value is 79;
  • blue value is 24.
RGB:
(37,79,24)
(15%,31%,9%)

RGB channels and saturation

R 37 of 255 = 15%
G 79 of 255 = 31%
B 24 of 255 = 9%

37
79
24

R + G + B ~ 18%. #254F18 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 79 + 24 = 140 (100%)
R 37 of 140 ~ 26.43%
G 79 of 140 ~ 56.43%
B 24 of 140 ~ 17.14%

%26.43
%56.43
%17.14

CMYK color model

#254F18 color CMYK value is (53,0,70,69).

  • cyan value is 53.16%
  • magenta value is 0.00%
  • yellow value is 69.62%
  • key color value is 69.02%
CMYK:
(53,0,70,69)
C53M0Y70K69 
(53%,0%,70%,69%)
(0.53/0.00/0.70/0.69)	

CMYK percentages

%53.16
%0
%69.62
%69.02

Codes

Color #254F18 in popluar color models

254F18
RGB377924
HSL106°53.40%20.20%
HSB/HSV106°69.62%30.98%
CMYK53.16%0.00%69.62%
69.02%

Color #254F18 in popluar number systems.

HEX254F18
Decimal377924
Binary100101100111111000
Octal4511730

Shades and tints

Shades of #254F18

#254F18
(37,79,24)
#224816
(34,72,22)
#1F4114
(31,65,20)
#1C3A12
(28,58,18)
#193310
(25,51,16)
#162C0E
(22,44,14)
#13250C
(19,37,12)
#101E0A
(16,30,10)
#0D1708
(13,23,8)
#0A1006
(10,16,6)
#070904
(7,9,4)
#000000
(0,0,0)

Tints of #254F18

#254F18
(37,79,24)
#385F2D
(56,95,45)
#4B6F42
(75,111,66)
#5E7F57
(94,127,87)
#718F6C
(113,143,108)
#849F81
(132,159,129)
#97AF96
(151,175,150)
#AABFAB
(170,191,171)
#BDCFC0
(189,207,192)
#D0DFD5
(208,223,213)
#E3EFEA
(227,239,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #254F18 color. Also use rgb(37,79,24) instead hex code.

Text Font Color

.myTextColor { color: #254F18; }

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

This text font color is #254F18.


Background Color

.myBgColor { background-color: #254F18; }

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

This div background color is #254F18.


Border color

.myBorderColor { border: 1px solid #254F18; }

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

This div border color is #254F18.


Opacity

.myOpacity80 { color: #254F18; opacity: 0.8; }

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

Text with #254F18 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 #254F18;}

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

This text has shadow with #254F18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #254F18 on black background.


Color preview on white background

This text has color #254F18 on white background.



Black color preview on #254F18 background

This text has black color on #254F18 background.


White color preview on #254F18 background

This text has white color on #254F18 background.