COLOR #6A8742

HEX: #6A8742
RGB: (106,135,66)

Color info

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

RGB color model

#6A8742 color RGB value is (106,135,66).

  • red value is 106;
  • green value is 135;
  • blue value is 66.
RGB:
(106,135,66)
(42%,53%,26%)

RGB channels and saturation

R 106 of 255 = 42%
G 135 of 255 = 53%
B 66 of 255 = 26%

106
135
66

R + G + B ~ 40%. #6A8742 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
106 + 135 + 66 = 307 (100%)
R 106 of 307 ~ 34.53%
G 135 of 307 ~ 43.97%
B 66 of 307 ~ 21.5%

%34.53
%43.97
%21.5

CMYK color model

#6A8742 color CMYK value is (21,0,51,47).

  • cyan value is 21.48%
  • magenta value is 0.00%
  • yellow value is 51.11%
  • key color value is 47.06%
CMYK:
(21,0,51,47)
C21M0Y51K47 
(21%,0%,51%,47%)
(0.21/0.00/0.51/0.47)	

CMYK percentages

%21.48
%0
%51.11
%47.06

Codes

Color #6A8742 in popluar color models

6A8742
RGB10613566
HSL85°34.33%39.41%
HSB/HSV85°51.11%52.94%
CMYK21.48%0.00%51.11%
47.06%

Color #6A8742 in popluar number systems.

HEX6A8742
Decimal10613566
Binary1101010100001111000010
Octal152207102

Shades and tints

Shades of #6A8742

#6A8742
(106,135,66)
#617B3C
(97,123,60)
#586F36
(88,111,54)
#4F6330
(79,99,48)
#46572A
(70,87,42)
#3D4B24
(61,75,36)
#343F1E
(52,63,30)
#2B3318
(43,51,24)
#222712
(34,39,18)
#191B0C
(25,27,12)
#100F06
(16,15,6)
#000000
(0,0,0)

Tints of #6A8742

#6A8742
(106,135,66)
#779153
(119,145,83)
#849B64
(132,155,100)
#91A575
(145,165,117)
#9EAF86
(158,175,134)
#ABB997
(171,185,151)
#B8C3A8
(184,195,168)
#C5CDB9
(197,205,185)
#D2D7CA
(210,215,202)
#DFE1DB
(223,225,219)
#ECEBEC
(236,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #6A8742 color. Also use rgb(106,135,66) instead hex code.

Text Font Color

.myTextColor { color: #6A8742; }

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

This text font color is #6A8742.


Background Color

.myBgColor { background-color: #6A8742; }

<div style="background-color:#6A8742">Inner text</div>

This div background color is #6A8742.


Border color

.myBorderColor { border: 1px solid #6A8742; }

<div style="border:3px solid #6A8742">Div</div>

This div border color is #6A8742.


Opacity

.myOpacity80 { color: #6A8742; opacity: 0.8; }

<p style="color:#6A8742;opacity:0.8;">80%</p>

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

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

This text has shadow with #6A8742 color.

.textShadow {text-shadow: 3px 3px 1px #6A8742, 3px 3px 1px red;}

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

This text has shadow with #6A8742 primary color and red secondary color.


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

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

This text has shadow with #6A8742 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #6A8742 on black background.


Color preview on white background

This text has color #6A8742 on white background.



Black color preview on #6A8742 background

This text has black color on #6A8742 background.


White color preview on #6A8742 background

This text has white color on #6A8742 background.