COLOR #402827

HEX: #402827
RGB: (64,40,39)

Color info

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

RGB color model

#402827 color RGB value is (64,40,39).

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

RGB channels and saturation

R 64 of 255 = 25%
G 40 of 255 = 16%
B 39 of 255 = 15%

64
40
39

R + G + B ~ 19%. #402827 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 40 + 39 = 143 (100%)
R 64 of 143 ~ 44.76%
G 40 of 143 ~ 27.97%
B 39 of 143 ~ 27.27%

%44.76
%27.97
%27.27

CMYK color model

#402827 color CMYK value is (0,38,39,75).

  • cyan value is 0.00%
  • magenta value is 37.50%
  • yellow value is 39.06%
  • key color value is 74.90%
CMYK:
(0,38,39,75)
C0M38Y39K75 
(0%,38%,39%,75%)
(0.00/0.38/0.39/0.75)	

CMYK percentages

%0
%37.5
%39.06
%74.9

Codes

Color #402827 in popluar color models

402827
RGB644039
HSL24.27%20.20%
HSB/HSV39.06%25.10%
CMYK0.00%37.50%39.06%
74.90%

Color #402827 in popluar number systems.

HEX402827
Decimal644039
Binary1000000101000100111
Octal1005047

Shades and tints

Shades of #402827

#402827
(64,40,39)
#3B2524
(59,37,36)
#362221
(54,34,33)
#311F1E
(49,31,30)
#2C1C1B
(44,28,27)
#271918
(39,25,24)
#221615
(34,22,21)
#1D1312
(29,19,18)
#18100F
(24,16,15)
#130D0C
(19,13,12)
#0E0A09
(14,10,9)
#000000
(0,0,0)

Tints of #402827

#402827
(64,40,39)
#513B3A
(81,59,58)
#624E4D
(98,78,77)
#736160
(115,97,96)
#847473
(132,116,115)
#958786
(149,135,134)
#A69A99
(166,154,153)
#B7ADAC
(183,173,172)
#C8C0BF
(200,192,191)
#D9D3D2
(217,211,210)
#EAE6E5
(234,230,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402827; }

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

This text font color is #402827.


Background Color

.myBgColor { background-color: #402827; }

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

This div background color is #402827.


Border color

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

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

This div border color is #402827.


Opacity

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

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

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

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

This text has shadow with #402827 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402827 on black background.


Color preview on white background

This text has color #402827 on white background.



Black color preview on #402827 background

This text has black color on #402827 background.


White color preview on #402827 background

This text has white color on #402827 background.