COLOR #157917

HEX: #157917
RGB: (21,121,23)

Color info

#157917 contains mainly green color. Web safe color of #157917 is #006600 (or #060).

RGB color model

#157917 color RGB value is (21,121,23).

  • red value is 21;
  • green value is 121;
  • blue value is 23.
RGB:
(21,121,23)
(8%,47%,9%)

RGB channels and saturation

R 21 of 255 = 8%
G 121 of 255 = 47%
B 23 of 255 = 9%

21
121
23

R + G + B ~ 21%. #157917 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 121 + 23 = 165 (100%)
R 21 of 165 ~ 12.73%
G 121 of 165 ~ 73.33%
B 23 of 165 ~ 13.94%

%12.73
%73.33
%13.94

CMYK color model

#157917 color CMYK value is (83,0,81,53).

  • cyan value is 82.64%
  • magenta value is 0.00%
  • yellow value is 80.99%
  • key color value is 52.55%
CMYK:
(83,0,81,53)
C83M0Y81K53 
(83%,0%,81%,53%)
(0.83/0.00/0.81/0.53)	

CMYK percentages

%82.64
%0
%80.99
%52.55

Codes

Color #157917 in popluar color models

157917
RGB2112123
HSL121°70.42%27.84%
HSB/HSV121°82.64%47.45%
CMYK82.64%0.00%80.99%
52.55%

Color #157917 in popluar number systems.

HEX157917
Decimal2112123
Binary10101111100110111
Octal2517127

Shades and tints

Shades of #157917

#157917
(21,121,23)
#146E15
(20,110,21)
#136313
(19,99,19)
#125811
(18,88,17)
#114D0F
(17,77,15)
#10420D
(16,66,13)
#0F370B
(15,55,11)
#0E2C09
(14,44,9)
#0D2107
(13,33,7)
#0C1605
(12,22,5)
#0B0B03
(11,11,3)
#000000
(0,0,0)

Tints of #157917

#157917
(21,121,23)
#2A852C
(42,133,44)
#3F9141
(63,145,65)
#549D56
(84,157,86)
#69A96B
(105,169,107)
#7EB580
(126,181,128)
#93C195
(147,193,149)
#A8CDAA
(168,205,170)
#BDD9BF
(189,217,191)
#D2E5D4
(210,229,212)
#E7F1E9
(231,241,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #157917 color. Also use rgb(21,121,23) instead hex code.

Text Font Color

.myTextColor { color: #157917; }

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

This text font color is #157917.


Background Color

.myBgColor { background-color: #157917; }

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

This div background color is #157917.


Border color

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

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

This div border color is #157917.


Opacity

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

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

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

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

This text has shadow with #157917 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #157917 on black background.


Color preview on white background

This text has color #157917 on white background.



Black color preview on #157917 background

This text has black color on #157917 background.


White color preview on #157917 background

This text has white color on #157917 background.