COLOR #508A1C

HEX: #508A1C
RGB: (80,138,28)

Color info

#508A1C contains mainly red and green colors. Web safe color of #508A1C is #669933 (or #693).

RGB color model

#508A1C color RGB value is (80,138,28).

  • red value is 80;
  • green value is 138;
  • blue value is 28.
RGB:
(80,138,28)
(31%,54%,11%)

RGB channels and saturation

R 80 of 255 = 31%
G 138 of 255 = 54%
B 28 of 255 = 11%

80
138
28

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

Portions of RGB colors in percentages

R + G + B =
80 + 138 + 28 = 246 (100%)
R 80 of 246 ~ 32.52%
G 138 of 246 ~ 56.1%
B 28 of 246 ~ 11.38%

%32.52
%56.1
%11.38

CMYK color model

#508A1C color CMYK value is (42,0,80,46).

  • cyan value is 42.03%
  • magenta value is 0.00%
  • yellow value is 79.71%
  • key color value is 45.88%
CMYK:
(42,0,80,46)
C42M0Y80K46 
(42%,0%,80%,46%)
(0.42/0.00/0.80/0.46)	

CMYK percentages

%42.03
%0
%79.71
%45.88

Codes

Color #508A1C in popluar color models

508A1C
RGB8013828
HSL92°66.27%32.55%
HSB/HSV92°79.71%54.12%
CMYK42.03%0.00%79.71%
45.88%

Color #508A1C in popluar number systems.

HEX508A1C
Decimal8013828
Binary10100001000101011100
Octal12021234

Shades and tints

Shades of #508A1C

#508A1C
(80,138,28)
#497E1A
(73,126,26)
#427218
(66,114,24)
#3B6616
(59,102,22)
#345A14
(52,90,20)
#2D4E12
(45,78,18)
#264210
(38,66,16)
#1F360E
(31,54,14)
#182A0C
(24,42,12)
#111E0A
(17,30,10)
#0A1208
(10,18,8)
#000000
(0,0,0)

Tints of #508A1C

#508A1C
(80,138,28)
#5F9430
(95,148,48)
#6E9E44
(110,158,68)
#7DA858
(125,168,88)
#8CB26C
(140,178,108)
#9BBC80
(155,188,128)
#AAC694
(170,198,148)
#B9D0A8
(185,208,168)
#C8DABC
(200,218,188)
#D7E4D0
(215,228,208)
#E6EEE4
(230,238,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #508A1C color. Also use rgb(80,138,28) instead hex code.

Text Font Color

.myTextColor { color: #508A1C; }

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

This text font color is #508A1C.


Background Color

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

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

This div background color is #508A1C.


Border color

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

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

This div border color is #508A1C.


Opacity

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

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

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

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

This text has shadow with #508A1C color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #508A1C on black background.


Color preview on white background

This text has color #508A1C on white background.



Black color preview on #508A1C background

This text has black color on #508A1C background.


White color preview on #508A1C background

This text has white color on #508A1C background.