COLOR #666942

HEX: #666942
RGB: (102,105,66)

Color info

#666942 contains red, green and blue colors in about the same proportion. Web safe color of #666942 is #666633 (or #663).

RGB color model

#666942 color RGB value is (102,105,66).

  • red value is 102;
  • green value is 105;
  • blue value is 66.
RGB:
(102,105,66)
(40%,41%,26%)

RGB channels and saturation

R 102 of 255 = 40%
G 105 of 255 = 41%
B 66 of 255 = 26%

102
105
66

R + G + B ~ 36%. #666942 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
102 + 105 + 66 = 273 (100%)
R 102 of 273 ~ 37.36%
G 105 of 273 ~ 38.46%
B 66 of 273 ~ 24.18%

%37.36
%38.46
%24.18

CMYK color model

#666942 color CMYK value is (3,0,37,59).

  • cyan value is 2.86%
  • magenta value is 0.00%
  • yellow value is 37.14%
  • key color value is 58.82%
CMYK:
(3,0,37,59)
C3M0Y37K59 
(3%,0%,37%,59%)
(0.03/0.00/0.37/0.59)	

CMYK percentages

%2.86
%0
%37.14
%58.82

Codes

Color #666942 in popluar color models

666942
RGB10210566
HSL65°22.81%33.53%
HSB/HSV65°37.14%41.18%
CMYK2.86%0.00%37.14%
58.82%

Color #666942 in popluar number systems.

HEX666942
Decimal10210566
Binary110011011010011000010
Octal146151102

Shades and tints

Shades of #666942

#666942
(102,105,66)
#5D603C
(93,96,60)
#545736
(84,87,54)
#4B4E30
(75,78,48)
#42452A
(66,69,42)
#393C24
(57,60,36)
#30331E
(48,51,30)
#272A18
(39,42,24)
#1E2112
(30,33,18)
#15180C
(21,24,12)
#0C0F06
(12,15,6)
#000000
(0,0,0)

Tints of #666942

#666942
(102,105,66)
#737653
(115,118,83)
#808364
(128,131,100)
#8D9075
(141,144,117)
#9A9D86
(154,157,134)
#A7AA97
(167,170,151)
#B4B7A8
(180,183,168)
#C1C4B9
(193,196,185)
#CED1CA
(206,209,202)
#DBDEDB
(219,222,219)
#E8EBEC
(232,235,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #666942 color. Also use rgb(102,105,66) instead hex code.

Text Font Color

.myTextColor { color: #666942; }

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

This text font color is #666942.


Background Color

.myBgColor { background-color: #666942; }

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

This div background color is #666942.


Border color

.myBorderColor { border: 1px solid #666942; }

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

This div border color is #666942.


Opacity

.myOpacity80 { color: #666942; opacity: 0.8; }

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

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

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

This text has shadow with #666942 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #666942 on black background.


Color preview on white background

This text has color #666942 on white background.



Black color preview on #666942 background

This text has black color on #666942 background.


White color preview on #666942 background

This text has white color on #666942 background.