COLOR #51A257

HEX: #51A257
RGB: (81,162,87)

Color info

#51A257 contains mainly green color. Web safe color of #51A257 is #669966 (or #696).

RGB color model

#51A257 color RGB value is (81,162,87).

  • red value is 81;
  • green value is 162;
  • blue value is 87.
RGB:
(81,162,87)
(32%,64%,34%)

RGB channels and saturation

R 81 of 255 = 32%
G 162 of 255 = 64%
B 87 of 255 = 34%

81
162
87

R + G + B ~ 43%. #51A257 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
81 + 162 + 87 = 330 (100%)
R 81 of 330 ~ 24.55%
G 162 of 330 ~ 49.09%
B 87 of 330 ~ 26.36%

%24.55
%49.09
%26.36

CMYK color model

#51A257 color CMYK value is (50,0,46,36).

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 46.30%
  • key color value is 36.47%
CMYK:
(50,0,46,36)
C50M0Y46K36 
(50%,0%,46%,36%)
(0.50/0.00/0.46/0.36)	

CMYK percentages

%50
%0
%46.3
%36.47

Codes

Color #51A257 in popluar color models

51A257
RGB8116287
HSL124°33.33%47.65%
HSB/HSV124°50.00%63.53%
CMYK50.00%0.00%46.30%
36.47%

Color #51A257 in popluar number systems.

HEX51A257
Decimal8116287
Binary1010001101000101010111
Octal121242127

Shades and tints

Shades of #51A257

#51A257
(81,162,87)
#4A9450
(74,148,80)
#438649
(67,134,73)
#3C7842
(60,120,66)
#356A3B
(53,106,59)
#2E5C34
(46,92,52)
#274E2D
(39,78,45)
#204026
(32,64,38)
#19321F
(25,50,31)
#122418
(18,36,24)
#0B1611
(11,22,17)
#000000
(0,0,0)

Tints of #51A257

#51A257
(81,162,87)
#60AA66
(96,170,102)
#6FB275
(111,178,117)
#7EBA84
(126,186,132)
#8DC293
(141,194,147)
#9CCAA2
(156,202,162)
#ABD2B1
(171,210,177)
#BADAC0
(186,218,192)
#C9E2CF
(201,226,207)
#D8EADE
(216,234,222)
#E7F2ED
(231,242,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #51A257 color. Also use rgb(81,162,87) instead hex code.

Text Font Color

.myTextColor { color: #51A257; }

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

This text font color is #51A257.


Background Color

.myBgColor { background-color: #51A257; }

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

This div background color is #51A257.


Border color

.myBorderColor { border: 1px solid #51A257; }

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

This div border color is #51A257.


Opacity

.myOpacity80 { color: #51A257; opacity: 0.8; }

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

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

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

This text has shadow with #51A257 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #51A257 on black background.


Color preview on white background

This text has color #51A257 on white background.



Black color preview on #51A257 background

This text has black color on #51A257 background.


White color preview on #51A257 background

This text has white color on #51A257 background.