COLOR #668E2A

HEX: #668E2A
RGB: (102,142,42)

Color info

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

RGB color model

#668E2A color RGB value is (102,142,42).

  • red value is 102;
  • green value is 142;
  • blue value is 42.
RGB:
(102,142,42)
(40%,56%,16%)

RGB channels and saturation

R 102 of 255 = 40%
G 142 of 255 = 56%
B 42 of 255 = 16%

102
142
42

R + G + B ~ 37%. #668E2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
102 + 142 + 42 = 286 (100%)
R 102 of 286 ~ 35.66%
G 142 of 286 ~ 49.65%
B 42 of 286 ~ 14.69%

%35.66
%49.65
%14.69

CMYK color model

#668E2A color CMYK value is (28,0,70,44).

  • cyan value is 28.17%
  • magenta value is 0.00%
  • yellow value is 70.42%
  • key color value is 44.31%
CMYK:
(28,0,70,44)
C28M0Y70K44 
(28%,0%,70%,44%)
(0.28/0.00/0.70/0.44)	

CMYK percentages

%28.17
%0
%70.42
%44.31

Codes

Color #668E2A in popluar color models

668E2A
RGB10214242
HSL84°54.35%36.08%
HSB/HSV84°70.42%55.69%
CMYK28.17%0.00%70.42%
44.31%

Color #668E2A in popluar number systems.

HEX668E2A
Decimal10214242
Binary110011010001110101010
Octal14621652

Shades and tints

Shades of #668E2A

#668E2A
(102,142,42)
#5D8227
(93,130,39)
#547624
(84,118,36)
#4B6A21
(75,106,33)
#425E1E
(66,94,30)
#39521B
(57,82,27)
#304618
(48,70,24)
#273A15
(39,58,21)
#1E2E12
(30,46,18)
#15220F
(21,34,15)
#0C160C
(12,22,12)
#000000
(0,0,0)

Tints of #668E2A

#668E2A
(102,142,42)
#73983D
(115,152,61)
#80A250
(128,162,80)
#8DAC63
(141,172,99)
#9AB676
(154,182,118)
#A7C089
(167,192,137)
#B4CA9C
(180,202,156)
#C1D4AF
(193,212,175)
#CEDEC2
(206,222,194)
#DBE8D5
(219,232,213)
#E8F2E8
(232,242,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #668E2A color. Also use rgb(102,142,42) instead hex code.

Text Font Color

.myTextColor { color: #668E2A; }

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

This text font color is #668E2A.


Background Color

.myBgColor { background-color: #668E2A; }

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

This div background color is #668E2A.


Border color

.myBorderColor { border: 1px solid #668E2A; }

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

This div border color is #668E2A.


Opacity

.myOpacity80 { color: #668E2A; opacity: 0.8; }

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

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

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

This text has shadow with #668E2A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #668E2A on black background.


Color preview on white background

This text has color #668E2A on white background.



Black color preview on #668E2A background

This text has black color on #668E2A background.


White color preview on #668E2A background

This text has white color on #668E2A background.