COLOR #284E20

HEX: #284E20 RGB: (40,78,32)

Color info

#284E20 contains red, green and blue colors in about the same proportion. Web safe color of #284E20 is #336633 (or #363).

RGB color model

#284E20 color RGB value is (40,78,32).

RGB: (40,78,32) (16%, 31%, 13%)

RGB channels and saturation

R 40 of 255 = 16%
G 78 of 255 = 31%
B 32 of 255 = 13%

40
78
32

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

Portions of RGB colors in percentages

R + G + B = 40 + 78 + 32 = 150 (100%)
R 40 of 150 ~ 26.67%
G 78 of 150 ~ 52%
B 32 of 150 ~ 21.33'%

%26.67
%52
%21.33

CMYK color model

#284E20 color CMYK value is (49,0,59,69).

  • cyan value is 48.72%
  • magenta value is 0.00%
  • yellow value is 58.97%
  • key color value is 69.41%

CMYK: (49,0,59,69)
C49M0Y59K69 (49%, 0%, 59%, 69%)
(0.49 / 0.00 / 0.59 / 0.69)

CMYK percentages

%48.72
%0
%58.97
%69.41

Codes

Color #284E20 in popluar color models

28 4E 20
RGB 40 78 32
HSL 110° 41.82% 21.57%
HSB/HSV 110° 58.97% 30.59%
CMYK 48.72% 0.00% 58.97%
69.41%

Color #284E20 in popluar number systems.

HEX 28 4E 20
Decimal 40 78 32
Binary 101000 1001110 100000
Octal 50 116 40

Shades and tints

Shades of #284E20

#284E20
(40,78,32)
#25471E
(37,71,30)
#22401C
(34,64,28)
#1F391A
(31,57,26)
#1C3218
(28,50,24)
#192B16
(25,43,22)
#162414
(22,36,20)
#131D12
(19,29,18)
#101610
(16,22,16)
#0D0F0E
(13,15,14)
#0A080C
(10,8,12)
#000000
(0,0,0)

Tints of #284E20

#284E20
(40,78,32)
#3B5E34
(59,94,52)
#4E6E48
(78,110,72)
#617E5C
(97,126,92)
#748E70
(116,142,112)
#879E84
(135,158,132)
#9AAE98
(154,174,152)
#ADBEAC
(173,190,172)
#C0CEC0
(192,206,192)
#D3DED4
(211,222,212)
#E6EEE8
(230,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #284E20 color. Also use rgb(40,78,32) instead hex code.

Text Font Color

.myTextColor { color: #284E20; }

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

This text font color is #284E20.

Background Color

.myBgColor { background-color: #284E20; }

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

This div background color is #284E20.

Border color

.myBorderColor { border: 1px solid #284E20; }

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

This div border color is #284E20.

Opacity

.myOpacity80 { color: #284E20; opacity: 0.8; }

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

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

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

This text has shadow with #284E20 color.


.textShadow {text-shadow: 3px 3px 1px #284E20', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #284E20; -webkit-box-shadow: 1px 1px 3px 2px #284E20; box-shadow:1px 1px 3px 2px #284E20;">
Div content here
</div>

This div box has shadow with color #284E20.

Preview

Color preview on black background

This text has color #284E20 on black background.


Color preview on white background

This text has color #284E20 on white background.


Black color preview on #284E20 background

This text has black color on #284E20 background.


White color preview on #284E20 background

This text has white color on #284E20 background.


Related colors

Complementary color

Complementary color for #hex is #D7B1DF.


I love getcolorcode.com

Triadic colors

1 #20284E and #4E2028 with #284E20 are triadic colors.

2 #204E28 and #4E2820 with #284E20 are triadic colors.