COLOR #508B18

HEX: #508B18
RGB: (80,139,24)

Color info

#508B18 contains mainly red and green colors. Web safe color of #508B18 is #669900 (or #690).

RGB color model

#508B18 color RGB value is (80,139,24).

  • red value is 80;
  • green value is 139;
  • blue value is 24.
RGB:
(80,139,24)
(31%,55%,9%)

RGB channels and saturation

R 80 of 255 = 31%
G 139 of 255 = 55%
B 24 of 255 = 9%

80
139
24

R + G + B ~ 32%. #508B18 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
80 + 139 + 24 = 243 (100%)
R 80 of 243 ~ 32.92%
G 139 of 243 ~ 57.2%
B 24 of 243 ~ 9.88%

%32.92
%57.2
%9.88

CMYK color model

#508B18 color CMYK value is (42,0,83,45).

  • cyan value is 42.45%
  • magenta value is 0.00%
  • yellow value is 82.73%
  • key color value is 45.49%
CMYK:
(42,0,83,45)
C42M0Y83K45 
(42%,0%,83%,45%)
(0.42/0.00/0.83/0.45)	

CMYK percentages

%42.45
%0
%82.73
%45.49

Codes

Color #508B18 in popluar color models

508B18
RGB8013924
HSL91°70.55%31.96%
HSB/HSV91°82.73%54.51%
CMYK42.45%0.00%82.73%
45.49%

Color #508B18 in popluar number systems.

HEX508B18
Decimal8013924
Binary10100001000101111000
Octal12021330

Shades and tints

Shades of #508B18

#508B18
(80,139,24)
#497F16
(73,127,22)
#427314
(66,115,20)
#3B6712
(59,103,18)
#345B10
(52,91,16)
#2D4F0E
(45,79,14)
#26430C
(38,67,12)
#1F370A
(31,55,10)
#182B08
(24,43,8)
#111F06
(17,31,6)
#0A1304
(10,19,4)
#000000
(0,0,0)

Tints of #508B18

#508B18
(80,139,24)
#5F952D
(95,149,45)
#6E9F42
(110,159,66)
#7DA957
(125,169,87)
#8CB36C
(140,179,108)
#9BBD81
(155,189,129)
#AAC796
(170,199,150)
#B9D1AB
(185,209,171)
#C8DBC0
(200,219,192)
#D7E5D5
(215,229,213)
#E6EFEA
(230,239,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #508B18 color. Also use rgb(80,139,24) instead hex code.

Text Font Color

.myTextColor { color: #508B18; }

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

This text font color is #508B18.


Background Color

.myBgColor { background-color: #508B18; }

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

This div background color is #508B18.


Border color

.myBorderColor { border: 1px solid #508B18; }

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

This div border color is #508B18.


Opacity

.myOpacity80 { color: #508B18; opacity: 0.8; }

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

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

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

This text has shadow with #508B18 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #508B18 on black background.


Color preview on white background

This text has color #508B18 on white background.



Black color preview on #508B18 background

This text has black color on #508B18 background.


White color preview on #508B18 background

This text has white color on #508B18 background.