COLOR #284240

HEX: #284240
RGB: (40,66,64)

Color info

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

RGB color model

#284240 color RGB value is (40,66,64).

  • red value is 40;
  • green value is 66;
  • blue value is 64.
RGB:
(40,66,64)
(16%,26%,25%)

RGB channels and saturation

R 40 of 255 = 16%
G 66 of 255 = 26%
B 64 of 255 = 25%

40
66
64

R + G + B ~ 22%. #284240 is dark color.

Portions of RGB colors in percentages

R + G + B =
40 + 66 + 64 = 170 (100%)
R 40 of 170 ~ 23.53%
G 66 of 170 ~ 38.82%
B 64 of 170 ~ 37.65%

%23.53
%38.82
%37.65

CMYK color model

#284240 color CMYK value is (39,0,3,74).

  • cyan value is 39.39%
  • magenta value is 0.00%
  • yellow value is 3.03%
  • key color value is 74.12%
CMYK:
(39,0,3,74)
C39M0Y3K74 
(39%,0%,3%,74%)
(0.39/0.00/0.03/0.74)	

CMYK percentages

%39.39
%0
%3.03
%74.12

Codes

Color #284240 in popluar color models

284240
RGB406664
HSL175°24.53%20.78%
HSB/HSV175°39.39%25.88%
CMYK39.39%0.00%3.03%
74.12%

Color #284240 in popluar number systems.

HEX284240
Decimal406664
Binary10100010000101000000
Octal50102100

Shades and tints

Shades of #284240

#284240
(40,66,64)
#253C3B
(37,60,59)
#223636
(34,54,54)
#1F3031
(31,48,49)
#1C2A2C
(28,42,44)
#192427
(25,36,39)
#161E22
(22,30,34)
#13181D
(19,24,29)
#101218
(16,18,24)
#0D0C13
(13,12,19)
#0A060E
(10,6,14)
#000000
(0,0,0)

Tints of #284240

#284240
(40,66,64)
#3B5351
(59,83,81)
#4E6462
(78,100,98)
#617573
(97,117,115)
#748684
(116,134,132)
#879795
(135,151,149)
#9AA8A6
(154,168,166)
#ADB9B7
(173,185,183)
#C0CAC8
(192,202,200)
#D3DBD9
(211,219,217)
#E6ECEA
(230,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #284240; }

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

This text font color is #284240.


Background Color

.myBgColor { background-color: #284240; }

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

This div background color is #284240.


Border color

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

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

This div border color is #284240.


Opacity

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

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

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

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

This text has shadow with #284240 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #284240 on black background.


Color preview on white background

This text has color #284240 on white background.



Black color preview on #284240 background

This text has black color on #284240 background.


White color preview on #284240 background

This text has white color on #284240 background.