COLOR #402D48

HEX: #402D48
RGB: (64,45,72)

Color info

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

RGB color model

#402D48 color RGB value is (64,45,72).

  • red value is 64;
  • green value is 45;
  • blue value is 72.
RGB:
(64,45,72)
(25%,18%,28%)

RGB channels and saturation

R 64 of 255 = 25%
G 45 of 255 = 18%
B 72 of 255 = 28%

64
45
72

R + G + B ~ 24%. #402D48 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 45 + 72 = 181 (100%)
R 64 of 181 ~ 35.36%
G 45 of 181 ~ 24.86%
B 72 of 181 ~ 39.78%

%35.36
%24.86
%39.78

CMYK color model

#402D48 color CMYK value is (11,38,0,72).

  • cyan value is 11.11%
  • magenta value is 37.50%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(11,38,0,72)
C11M38Y0K72 
(11%,38%,0%,72%)
(0.11/0.38/0.00/0.72)	

CMYK percentages

%11.11
%37.5
%0
%71.76

Codes

Color #402D48 in popluar color models

402D48
RGB644572
HSL282°23.08%22.94%
HSB/HSV282°37.50%28.24%
CMYK11.11%37.50%0.00%
71.76%

Color #402D48 in popluar number systems.

HEX402D48
Decimal644572
Binary10000001011011001000
Octal10055110

Shades and tints

Shades of #402D48

#402D48
(64,45,72)
#3B2942
(59,41,66)
#36253C
(54,37,60)
#312136
(49,33,54)
#2C1D30
(44,29,48)
#27192A
(39,25,42)
#221524
(34,21,36)
#1D111E
(29,17,30)
#180D18
(24,13,24)
#130912
(19,9,18)
#0E050C
(14,5,12)
#000000
(0,0,0)

Tints of #402D48

#402D48
(64,45,72)
#514058
(81,64,88)
#625368
(98,83,104)
#736678
(115,102,120)
#847988
(132,121,136)
#958C98
(149,140,152)
#A69FA8
(166,159,168)
#B7B2B8
(183,178,184)
#C8C5C8
(200,197,200)
#D9D8D8
(217,216,216)
#EAEBE8
(234,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402D48 color. Also use rgb(64,45,72) instead hex code.

Text Font Color

.myTextColor { color: #402D48; }

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

This text font color is #402D48.


Background Color

.myBgColor { background-color: #402D48; }

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

This div background color is #402D48.


Border color

.myBorderColor { border: 1px solid #402D48; }

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

This div border color is #402D48.


Opacity

.myOpacity80 { color: #402D48; opacity: 0.8; }

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

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

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

This text has shadow with #402D48 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402D48 on black background.


Color preview on white background

This text has color #402D48 on white background.



Black color preview on #402D48 background

This text has black color on #402D48 background.


White color preview on #402D48 background

This text has white color on #402D48 background.