COLOR #7FA251

HEX: #7FA251
RGB: (127,162,81)

Color info

#7FA251 contains mainly red and green colors. Web safe color of #7FA251 is #669966 (or #696).

RGB color model

#7FA251 color RGB value is (127,162,81).

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

RGB channels and saturation

R 127 of 255 = 50%
G 162 of 255 = 64%
B 81 of 255 = 32%

127
162
81

R + G + B ~ 49%. #7FA251 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
127 + 162 + 81 = 370 (100%)
R 127 of 370 ~ 34.32%
G 162 of 370 ~ 43.78%
B 81 of 370 ~ 21.89%

%34.32
%43.78
%21.89

CMYK color model

#7FA251 color CMYK value is (22,0,50,36).

  • cyan value is 21.60%
  • magenta value is 0.00%
  • yellow value is 50.00%
  • key color value is 36.47%
CMYK:
(22,0,50,36)
C22M0Y50K36 
(22%,0%,50%,36%)
(0.22/0.00/0.50/0.36)	

CMYK percentages

%21.6
%0
%50
%36.47

Codes

Color #7FA251 in popluar color models

7FA251
RGB12716281
HSL86°33.33%47.65%
HSB/HSV86°50.00%63.53%
CMYK21.60%0.00%50.00%
36.47%

Color #7FA251 in popluar number systems.

HEX7FA251
Decimal12716281
Binary1111111101000101010001
Octal177242121

Shades and tints

Shades of #7FA251

#7FA251
(127,162,81)
#74944A
(116,148,74)
#698643
(105,134,67)
#5E783C
(94,120,60)
#536A35
(83,106,53)
#485C2E
(72,92,46)
#3D4E27
(61,78,39)
#324020
(50,64,32)
#273219
(39,50,25)
#1C2412
(28,36,18)
#11160B
(17,22,11)
#000000
(0,0,0)

Tints of #7FA251

#7FA251
(127,162,81)
#8AAA60
(138,170,96)
#95B26F
(149,178,111)
#A0BA7E
(160,186,126)
#ABC28D
(171,194,141)
#B6CA9C
(182,202,156)
#C1D2AB
(193,210,171)
#CCDABA
(204,218,186)
#D7E2C9
(215,226,201)
#E2EAD8
(226,234,216)
#EDF2E7
(237,242,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7FA251 color. Also use rgb(127,162,81) instead hex code.

Text Font Color

.myTextColor { color: #7FA251; }

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

This text font color is #7FA251.


Background Color

.myBgColor { background-color: #7FA251; }

<div style="background-color:#7FA251">Inner text</div>

This div background color is #7FA251.


Border color

.myBorderColor { border: 1px solid #7FA251; }

<div style="border:3px solid #7FA251">Div</div>

This div border color is #7FA251.


Opacity

.myOpacity80 { color: #7FA251; opacity: 0.8; }

<p style="color:#7FA251;opacity:0.8;">80%</p>

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

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

This text has shadow with #7FA251 color.

.textShadow {text-shadow: 3px 3px 1px #7FA251, 3px 3px 1px red;}

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

This text has shadow with #7FA251 primary color and red secondary color.


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

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

This text has shadow with #7FA251 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7FA251 on black background.


Color preview on white background

This text has color #7FA251 on white background.



Black color preview on #7FA251 background

This text has black color on #7FA251 background.


White color preview on #7FA251 background

This text has white color on #7FA251 background.