COLOR #284D2F

HEX: #284D2F
RGB: (40,77,47)

Color info

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

RGB color model

#284D2F color RGB value is (40,77,47).

  • red value is 40;
  • green value is 77;
  • blue value is 47.
RGB:
(40,77,47)
(16%,30%,18%)

RGB channels and saturation

R 40 of 255 = 16%
G 77 of 255 = 30%
B 47 of 255 = 18%

40
77
47

R + G + B ~ 21%. #284D2F is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 77 + 47 = 164 (100%)
R 40 of 164 ~ 24.39%
G 77 of 164 ~ 46.95%
B 47 of 164 ~ 28.66%

%24.39
%46.95
%28.66

CMYK color model

#284D2F color CMYK value is (48,0,39,70).

  • cyan value is 48.05%
  • magenta value is 0.00%
  • yellow value is 38.96%
  • key color value is 69.80%
CMYK:
(48,0,39,70)
C48M0Y39K70 
(48%,0%,39%,70%)
(0.48/0.00/0.39/0.70)	

CMYK percentages

%48.05
%0
%38.96
%69.8

Codes

Color #284D2F in popluar color models

284D2F
RGB407747
HSL131°31.62%22.94%
HSB/HSV131°48.05%30.20%
CMYK48.05%0.00%38.96%
69.80%

Color #284D2F in popluar number systems.

HEX284D2F
Decimal407747
Binary1010001001101101111
Octal5011557

Shades and tints

Shades of #284D2F

#284D2F
(40,77,47)
#25462B
(37,70,43)
#223F27
(34,63,39)
#1F3823
(31,56,35)
#1C311F
(28,49,31)
#192A1B
(25,42,27)
#162317
(22,35,23)
#131C13
(19,28,19)
#10150F
(16,21,15)
#0D0E0B
(13,14,11)
#0A0707
(10,7,7)
#000000
(0,0,0)

Tints of #284D2F

#284D2F
(40,77,47)
#3B5D41
(59,93,65)
#4E6D53
(78,109,83)
#617D65
(97,125,101)
#748D77
(116,141,119)
#879D89
(135,157,137)
#9AAD9B
(154,173,155)
#ADBDAD
(173,189,173)
#C0CDBF
(192,205,191)
#D3DDD1
(211,221,209)
#E6EDE3
(230,237,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #284D2F color. Also use rgb(40,77,47) instead hex code.

Text Font Color

.myTextColor { color: #284D2F; }

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

This text font color is #284D2F.


Background Color

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

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

This div background color is #284D2F.


Border color

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

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

This div border color is #284D2F.


Opacity

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

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

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

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

This text has shadow with #284D2F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #284D2F on black background.


Color preview on white background

This text has color #284D2F on white background.



Black color preview on #284D2F background

This text has black color on #284D2F background.


White color preview on #284D2F background

This text has white color on #284D2F background.