COLOR #668021

HEX: #668021
RGB: (102,128,33)

Color info

#668021 contains mainly red and green colors. Web safe color of #668021 is #666633 (or #663).

RGB color model

#668021 color RGB value is (102,128,33).

  • red value is 102;
  • green value is 128;
  • blue value is 33.
RGB:
(102,128,33)
(40%,50%,13%)

RGB channels and saturation

R 102 of 255 = 40%
G 128 of 255 = 50%
B 33 of 255 = 13%

102
128
33

R + G + B ~ 34%. #668021 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
102 + 128 + 33 = 263 (100%)
R 102 of 263 ~ 38.78%
G 128 of 263 ~ 48.67%
B 33 of 263 ~ 12.55%

%38.78
%48.67
%12.55

CMYK color model

#668021 color CMYK value is (20,0,74,50).

  • cyan value is 20.31%
  • magenta value is 0.00%
  • yellow value is 74.22%
  • key color value is 49.80%
CMYK:
(20,0,74,50)
C20M0Y74K50 
(20%,0%,74%,50%)
(0.20/0.00/0.74/0.50)	

CMYK percentages

%20.31
%0
%74.22
%49.8

Codes

Color #668021 in popluar color models

668021
RGB10212833
HSL76°59.01%31.57%
HSB/HSV76°74.22%50.20%
CMYK20.31%0.00%74.22%
49.80%

Color #668021 in popluar number systems.

HEX668021
Decimal10212833
Binary110011010000000100001
Octal14620041

Shades and tints

Shades of #668021

#668021
(102,128,33)
#5D751E
(93,117,30)
#546A1B
(84,106,27)
#4B5F18
(75,95,24)
#425415
(66,84,21)
#394912
(57,73,18)
#303E0F
(48,62,15)
#27330C
(39,51,12)
#1E2809
(30,40,9)
#151D06
(21,29,6)
#0C1203
(12,18,3)
#000000
(0,0,0)

Tints of #668021

#668021
(102,128,33)
#738B35
(115,139,53)
#809649
(128,150,73)
#8DA15D
(141,161,93)
#9AAC71
(154,172,113)
#A7B785
(167,183,133)
#B4C299
(180,194,153)
#C1CDAD
(193,205,173)
#CED8C1
(206,216,193)
#DBE3D5
(219,227,213)
#E8EEE9
(232,238,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #668021 color. Also use rgb(102,128,33) instead hex code.

Text Font Color

.myTextColor { color: #668021; }

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

This text font color is #668021.


Background Color

.myBgColor { background-color: #668021; }

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

This div background color is #668021.


Border color

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

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

This div border color is #668021.


Opacity

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

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

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

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

This text has shadow with #668021 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #668021 on black background.


Color preview on white background

This text has color #668021 on white background.



Black color preview on #668021 background

This text has black color on #668021 background.


White color preview on #668021 background

This text has white color on #668021 background.