COLOR #284628

HEX: #284628
RGB: (40,70,40)

Color info

#284628 contains red, green and blue colors in about the same proportion. Web safe color of #284628 is #333333 (or #333).

RGB color model

#284628 color RGB value is (40,70,40).

  • red value is 40;
  • green value is 70;
  • blue value is 40.
RGB:
(40,70,40)
(16%,27%,16%)

RGB channels and saturation

R 40 of 255 = 16%
G 70 of 255 = 27%
B 40 of 255 = 16%

40
70
40

R + G + B ~ 20%. #284628 is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 70 + 40 = 150 (100%)
R 40 of 150 ~ 26.67%
G 70 of 150 ~ 46.67%
B 40 of 150 ~ 26.67%

%26.67
%46.67
%26.67

CMYK color model

#284628 color CMYK value is (43,0,43,73).

  • cyan value is 42.86%
  • magenta value is 0.00%
  • yellow value is 42.86%
  • key color value is 72.55%
CMYK:
(43,0,43,73)
C43M0Y43K73 
(43%,0%,43%,73%)
(0.43/0.00/0.43/0.73)	

CMYK percentages

%42.86
%0
%42.86
%72.55

Codes

Color #284628 in popluar color models

284628
RGB407040
HSL120°27.27%21.57%
HSB/HSV120°42.86%27.45%
CMYK42.86%0.00%42.86%
72.55%

Color #284628 in popluar number systems.

HEX284628
Decimal407040
Binary1010001000110101000
Octal5010650

Shades and tints

Shades of #284628

#284628
(40,70,40)
#254025
(37,64,37)
#223A22
(34,58,34)
#1F341F
(31,52,31)
#1C2E1C
(28,46,28)
#192819
(25,40,25)
#162216
(22,34,22)
#131C13
(19,28,19)
#101610
(16,22,16)
#0D100D
(13,16,13)
#0A0A0A
(10,10,10)
#000000
(0,0,0)

Tints of #284628

#284628
(40,70,40)
#3B563B
(59,86,59)
#4E664E
(78,102,78)
#617661
(97,118,97)
#748674
(116,134,116)
#879687
(135,150,135)
#9AA69A
(154,166,154)
#ADB6AD
(173,182,173)
#C0C6C0
(192,198,192)
#D3D6D3
(211,214,211)
#E6E6E6
(230,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #284628 color. Also use rgb(40,70,40) instead hex code.

Text Font Color

.myTextColor { color: #284628; }

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

This text font color is #284628.


Background Color

.myBgColor { background-color: #284628; }

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

This div background color is #284628.


Border color

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

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

This div border color is #284628.


Opacity

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

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

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

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

This text has shadow with #284628 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #284628 on black background.


Color preview on white background

This text has color #284628 on white background.



Black color preview on #284628 background

This text has black color on #284628 background.


White color preview on #284628 background

This text has white color on #284628 background.