COLOR #7F8242

HEX: #7F8242
RGB: (127,130,66)

Color info

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

RGB color model

#7F8242 color RGB value is (127,130,66).

  • red value is 127;
  • green value is 130;
  • blue value is 66.
RGB:
(127,130,66)
(50%,51%,26%)

RGB channels and saturation

R 127 of 255 = 50%
G 130 of 255 = 51%
B 66 of 255 = 26%

127
130
66

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

Portions of RGB colors in percentages

R + G + B =
127 + 130 + 66 = 323 (100%)
R 127 of 323 ~ 39.32%
G 130 of 323 ~ 40.25%
B 66 of 323 ~ 20.43%

%39.32
%40.25
%20.43

CMYK color model

#7F8242 color CMYK value is (2,0,49,49).

  • cyan value is 2.31%
  • magenta value is 0.00%
  • yellow value is 49.23%
  • key color value is 49.02%
CMYK:
(2,0,49,49)
C2M0Y49K49 
(2%,0%,49%,49%)
(0.02/0.00/0.49/0.49)	

CMYK percentages

%2.31
%0
%49.23
%49.02

Codes

Color #7F8242 in popluar color models

7F8242
RGB12713066
HSL63°32.65%38.43%
HSB/HSV63°49.23%50.98%
CMYK2.31%0.00%49.23%
49.02%

Color #7F8242 in popluar number systems.

HEX7F8242
Decimal12713066
Binary1111111100000101000010
Octal177202102

Shades and tints

Shades of #7F8242

#7F8242
(127,130,66)
#74773C
(116,119,60)
#696C36
(105,108,54)
#5E6130
(94,97,48)
#53562A
(83,86,42)
#484B24
(72,75,36)
#3D401E
(61,64,30)
#323518
(50,53,24)
#272A12
(39,42,18)
#1C1F0C
(28,31,12)
#111406
(17,20,6)
#000000
(0,0,0)

Tints of #7F8242

#7F8242
(127,130,66)
#8A8D53
(138,141,83)
#959864
(149,152,100)
#A0A375
(160,163,117)
#ABAE86
(171,174,134)
#B6B997
(182,185,151)
#C1C4A8
(193,196,168)
#CCCFB9
(204,207,185)
#D7DACA
(215,218,202)
#E2E5DB
(226,229,219)
#EDF0EC
(237,240,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7F8242 color. Also use rgb(127,130,66) instead hex code.

Text Font Color

.myTextColor { color: #7F8242; }

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

This text font color is #7F8242.


Background Color

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

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

This div background color is #7F8242.


Border color

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

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

This div border color is #7F8242.


Opacity

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

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

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

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

This text has shadow with #7F8242 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #7F8242 on black background.


Color preview on white background

This text has color #7F8242 on white background.



Black color preview on #7F8242 background

This text has black color on #7F8242 background.


White color preview on #7F8242 background

This text has white color on #7F8242 background.