COLOR #517B21

HEX: #517B21 RGB: (81,123,33)

Color info

#517B21 contains mainly red and green colors. Web safe color of #517B21 is #666633 (or #663).

RGB color model

#517B21 color RGB value is (81,123,33).

RGB: (81,123,33) (32%, 48%, 13%)

RGB channels and saturation

R 81 of 255 = 32%
G 123 of 255 = 48%
B 33 of 255 = 13%

81
123
33

R + G + B ~ 31%. #517B21 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 81 + 123 + 33 = 237 (100%)
R 81 of 237 ~ 34.18%
G 123 of 237 ~ 51.9%
B 33 of 237 ~ 13.92'%

%34.18
%51.9
%13.92

CMYK color model

#517B21 color CMYK value is (34,0,73,52).

  • cyan value is 34.15%
  • magenta value is 0.00%
  • yellow value is 73.17%
  • key color value is 51.76%

CMYK: (34,0,73,52)
C34M0Y73K52 (34%, 0%, 73%, 52%)
(0.34 / 0.00 / 0.73 / 0.52)

CMYK percentages

%34.15
%0
%73.17
%51.76

Codes

Color #517B21 in popluar color models

51 7B 21
RGB 81 123 33
HSL 88° 57.69% 30.59%
HSB/HSV 88° 73.17% 48.24%
CMYK 34.15% 0.00% 73.17%
51.76%

Color #517B21 in popluar number systems.

HEX 51 7B 21
Decimal 81 123 33
Binary 1010001 1111011 100001
Octal 121 173 41

Shades and tints

Shades of #517B21

#517B21
(81,123,33)
#4A701E
(74,112,30)
#43651B
(67,101,27)
#3C5A18
(60,90,24)
#354F15
(53,79,21)
#2E4412
(46,68,18)
#27390F
(39,57,15)
#202E0C
(32,46,12)
#192309
(25,35,9)
#121806
(18,24,6)
#0B0D03
(11,13,3)
#000000
(0,0,0)

Tints of #517B21

#517B21
(81,123,33)
#608735
(96,135,53)
#6F9349
(111,147,73)
#7E9F5D
(126,159,93)
#8DAB71
(141,171,113)
#9CB785
(156,183,133)
#ABC399
(171,195,153)
#BACFAD
(186,207,173)
#C9DBC1
(201,219,193)
#D8E7D5
(216,231,213)
#E7F3E9
(231,243,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #517B21 color. Also use rgb(81,123,33) instead hex code.

Text Font Color

.myTextColor { color: #517B21; }

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

This text font color is #517B21.

Background Color

.myBgColor { background-color: #517B21; }

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

This div background color is #517B21.

Border color

.myBorderColor { border: 1px solid #517B21; }

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

This div border color is #517B21.

Opacity

.myOpacity80 { color: #517B21; opacity: 0.8; }

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

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

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

This text has shadow with #517B21 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #517B21.

Preview

Color preview on black background

This text has color #517B21 on black background.


Color preview on white background

This text has color #517B21 on white background.


Black color preview on #517B21 background

This text has black color on #517B21 background.


White color preview on #517B21 background

This text has white color on #517B21 background.


Related colors

Complementary color

Complementary color for #hex is #AE84DE.


I love getcolorcode.com

Triadic colors

1 #21517B and #7B2151 with #517B21 are triadic colors.

2 #217B51 and #7B5121 with #517B21 are triadic colors.