COLOR #7F9842

HEX: #7F9842 RGB: (127,152,66)

Color info

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

RGB color model

#7F9842 color RGB value is (127,152,66).

RGB: (127,152,66) (50%, 60%, 26%)

RGB channels and saturation

R 127 of 255 = 50%
G 152 of 255 = 60%
B 66 of 255 = 26%

127
152
66

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

Portions of RGB colors in percentages

R + G + B = 127 + 152 + 66 = 345 (100%)
R 127 of 345 ~ 36.81%
G 152 of 345 ~ 44.06%
B 66 of 345 ~ 19.13'%

%36.81
%44.06
%19.13

CMYK color model

#7F9842 color CMYK value is (16,0,57,40).

  • cyan value is 16.45%
  • magenta value is 0.00%
  • yellow value is 56.58%
  • key color value is 40.39%
CMYK: (16,0,57,40) C16M0Y57K40 (16%,0%,57%,40%) (0.16/0.00/0.57/0.40) 

CMYK percentages

%16.45
%0
%56.58
%40.39

Codes

Color #7F9842 in popluar color models

7F 98 42
RGB 127 152 66
HSL 77° 39.45% 42.75%
HSB/HSV 77° 56.58% 59.61%
CMYK 16.45% 0.00% 56.58%
40.39%

Color #7F9842 in popluar number systems.

HEX 7F 98 42
Decimal 127 152 66
Binary 1111111 10011000 1000010
Octal 177 230 102

Shades and tints

Shades of #7F9842

#7F9842
(127,152,66)
#748B3C
(116,139,60)
#697E36
(105,126,54)
#5E7130
(94,113,48)
#53642A
(83,100,42)
#485724
(72,87,36)
#3D4A1E
(61,74,30)
#323D18
(50,61,24)
#273012
(39,48,18)
#1C230C
(28,35,12)
#111606
(17,22,6)
#000000
(0,0,0)

Tints of #7F9842

#7F9842
(127,152,66)
#8AA153
(138,161,83)
#95AA64
(149,170,100)
#A0B375
(160,179,117)
#ABBC86
(171,188,134)
#B6C597
(182,197,151)
#C1CEA8
(193,206,168)
#CCD7B9
(204,215,185)
#D7E0CA
(215,224,202)
#E2E9DB
(226,233,219)
#EDF2EC
(237,242,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #7F9842; }

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

This text font color is #7F9842.

Background Color

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

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

This div background color is #7F9842.

Border color

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

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

This div border color is #7F9842.

Opacity

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

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

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

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

This text has shadow with #7F9842 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #7F9842.

Preview

Color preview on black background

This text has color #7F9842 on black background.


Color preview on white background

This text has color #7F9842 on white background.


Black color preview on #7F9842 background

This text has black color on #7F9842 background.


White color preview on #7F9842 background

This text has white color on #7F9842 background.


Related colors

Complementary color

Complementary color for #hex is #8067BD.


I love getcolorcode.com

Triadic colors

1 #427F98 and #98427F with #7F9842 are triadic colors.

2 #42987F and #987F42 with #7F9842 are triadic colors.