COLOR #284A2C

HEX: #284A2C RGB: (40,74,44)

Color info

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

RGB color model

#284A2C color RGB value is (40,74,44).

RGB: (40,74,44) (16%, 29%, 17%)

RGB channels and saturation

R 40 of 255 = 16%
G 74 of 255 = 29%
B 44 of 255 = 17%

40
74
44

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

Portions of RGB colors in percentages

R + G + B = 40 + 74 + 44 = 158 (100%)
R 40 of 158 ~ 25.32%
G 74 of 158 ~ 46.84%
B 44 of 158 ~ 27.85'%

%25.32
%46.84
%27.85

CMYK color model

#284A2C color CMYK value is (46,0,41,71).

  • cyan value is 45.95%
  • magenta value is 0.00%
  • yellow value is 40.54%
  • key color value is 70.98%
CMYK: (46,0,41,71) C46M0Y41K71 (46%,0%,41%,71%) (0.46/0.00/0.41/0.71) 

CMYK percentages

%45.95
%0
%40.54
%70.98

Codes

Color #284A2C in popluar color models

28 4A 2C
RGB 40 74 44
HSL 127° 29.82% 22.35%
HSB/HSV 127° 45.95% 29.02%
CMYK 45.95% 0.00% 40.54%
70.98%

Color #284A2C in popluar number systems.

HEX 28 4A 2C
Decimal 40 74 44
Binary 101000 1001010 101100
Octal 50 112 54

Shades and tints

Shades of #284A2C

#284A2C
(40,74,44)
#254428
(37,68,40)
#223E24
(34,62,36)
#1F3820
(31,56,32)
#1C321C
(28,50,28)
#192C18
(25,44,24)
#162614
(22,38,20)
#132010
(19,32,16)
#101A0C
(16,26,12)
#0D1408
(13,20,8)
#0A0E04
(10,14,4)
#000000
(0,0,0)

Tints of #284A2C

#284A2C
(40,74,44)
#3B5A3F
(59,90,63)
#4E6A52
(78,106,82)
#617A65
(97,122,101)
#748A78
(116,138,120)
#879A8B
(135,154,139)
#9AAA9E
(154,170,158)
#ADBAB1
(173,186,177)
#C0CAC4
(192,202,196)
#D3DAD7
(211,218,215)
#E6EAEA
(230,234,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #284A2C color. Also use rgb(40,74,44) instead hex code.

Text Font Color

.myTextColor { color: #284A2C; }

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

This text font color is #284A2C.

Background Color

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

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

This div background color is #284A2C.

Border color

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

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

This div border color is #284A2C.

Opacity

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

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

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

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

This text has shadow with #284A2C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #284A2C.

Preview

Color preview on black background

This text has color #284A2C on black background.


Color preview on white background

This text has color #284A2C on white background.


Black color preview on #284A2C background

This text has black color on #284A2C background.


White color preview on #284A2C background

This text has white color on #284A2C background.


Related colors

Complementary color

Complementary color for #hex is #D7B5D3.


I love getcolorcode.com

Triadic colors

1 #2C284A and #4A2C28 with #284A2C are triadic colors.

2 #2C4A28 and #4A282C with #284A2C are triadic colors.