COLOR #508C21

HEX: #508C21 RGB: (80,140,33)

Color info

#508C21 contains mainly green color. Web safe color of #508C21 is #669933 (or #693).

RGB color model

#508C21 color RGB value is (80,140,33).

RGB: (80,140,33) (31%, 55%, 13%)

RGB channels and saturation

R 80 of 255 = 31%
G 140 of 255 = 55%
B 33 of 255 = 13%

80
140
33

R + G + B ~ 33%. #508C21 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 80 + 140 + 33 = 253 (100%)
R 80 of 253 ~ 31.62%
G 140 of 253 ~ 55.34%
B 33 of 253 ~ 13.04'%

%31.62
%55.34
%13.04

CMYK color model

#508C21 color CMYK value is (43,0,76,45).

  • cyan value is 42.86%
  • magenta value is 0.00%
  • yellow value is 76.43%
  • key color value is 45.10%

CMYK: (43,0,76,45)
C43M0Y76K45 (43%, 0%, 76%, 45%)
(0.43 / 0.00 / 0.76 / 0.45)

CMYK percentages

%42.86
%0
%76.43
%45.1

Codes

Color #508C21 in popluar color models

50 8C 21
RGB 80 140 33
HSL 94° 61.85% 33.92%
HSB/HSV 94° 76.43% 54.90%
CMYK 42.86% 0.00% 76.43%
45.10%

Color #508C21 in popluar number systems.

HEX 50 8C 21
Decimal 80 140 33
Binary 1010000 10001100 100001
Octal 120 214 41

Shades and tints

Shades of #508C21

#508C21
(80,140,33)
#49801E
(73,128,30)
#42741B
(66,116,27)
#3B6818
(59,104,24)
#345C15
(52,92,21)
#2D5012
(45,80,18)
#26440F
(38,68,15)
#1F380C
(31,56,12)
#182C09
(24,44,9)
#112006
(17,32,6)
#0A1403
(10,20,3)
#000000
(0,0,0)

Tints of #508C21

#508C21
(80,140,33)
#5F9635
(95,150,53)
#6EA049
(110,160,73)
#7DAA5D
(125,170,93)
#8CB471
(140,180,113)
#9BBE85
(155,190,133)
#AAC899
(170,200,153)
#B9D2AD
(185,210,173)
#C8DCC1
(200,220,193)
#D7E6D5
(215,230,213)
#E6F0E9
(230,240,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #508C21 color. Also use rgb(80,140,33) instead hex code.

Text Font Color

.myTextColor { color: #508C21; }

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

This text font color is #508C21.

Background Color

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

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

This div background color is #508C21.

Border color

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

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

This div border color is #508C21.

Opacity

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

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

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

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

This text has shadow with #508C21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #508C21.

Preview

Color preview on black background

This text has color #508C21 on black background.


Color preview on white background

This text has color #508C21 on white background.


Black color preview on #508C21 background

This text has black color on #508C21 background.


White color preview on #508C21 background

This text has white color on #508C21 background.


Related colors

Complementary color

Complementary color for #hex is #AF73DE.


I love getcolorcode.com

Triadic colors

1 #21508C and #8C2150 with #508C21 are triadic colors.

2 #218C50 and #8C5021 with #508C21 are triadic colors.