COLOR #402C48

HEX: #402C48 RGB: (64,44,72)

Color info

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

RGB color model

#402C48 color RGB value is (64,44,72).

RGB: (64,44,72) (25%, 17%, 28%)

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 72 of 255 = 28%

64
44
72

R + G + B ~ 23%. #402C48 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 44 + 72 = 180 (100%)
R 64 of 180 ~ 35.56%
G 44 of 180 ~ 24.44%
B 72 of 180 ~ 40'%

%35.56
%24.44
%40

CMYK color model

#402C48 color CMYK value is (11,39,0,72).

  • cyan value is 11.11%
  • magenta value is 38.89%
  • yellow value is 0.00%
  • key color value is 71.76%

CMYK: (11,39,0,72)
C11M39Y0K72 (11%, 39%, 0%, 72%)
(0.11 / 0.39 / 0.00 / 0.72)

CMYK percentages

%11.11
%38.89
%0
%71.76

Codes

Color #402C48 in popluar color models

40 2C 48
RGB 64 44 72
HSL 283° 24.14% 22.75%
HSB/HSV 283° 38.89% 28.24%
CMYK 11.11% 38.89% 0.00%
71.76%

Color #402C48 in popluar number systems.

HEX 40 2C 48
Decimal 64 44 72
Binary 1000000 101100 1001000
Octal 100 54 110

Shades and tints

Shades of #402C48

#402C48
(64,44,72)
#3B2842
(59,40,66)
#36243C
(54,36,60)
#312036
(49,32,54)
#2C1C30
(44,28,48)
#27182A
(39,24,42)
#221424
(34,20,36)
#1D101E
(29,16,30)
#180C18
(24,12,24)
#130812
(19,8,18)
#0E040C
(14,4,12)
#000000
(0,0,0)

Tints of #402C48

#402C48
(64,44,72)
#513F58
(81,63,88)
#625268
(98,82,104)
#736578
(115,101,120)
#847888
(132,120,136)
#958B98
(149,139,152)
#A69EA8
(166,158,168)
#B7B1B8
(183,177,184)
#C8C4C8
(200,196,200)
#D9D7D8
(217,215,216)
#EAEAE8
(234,234,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402C48; }

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

This text font color is #402C48.

Background Color

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

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

This div background color is #402C48.

Border color

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

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

This div border color is #402C48.

Opacity

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

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

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

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

This text has shadow with #402C48 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402C48.

Preview

Color preview on black background

This text has color #402C48 on black background.


Color preview on white background

This text has color #402C48 on white background.


Black color preview on #402C48 background

This text has black color on #402C48 background.


White color preview on #402C48 background

This text has white color on #402C48 background.


Related colors

Complementary color

Complementary color for #hex is #BFD3B7.


I love getcolorcode.com

Triadic colors

1 #48402C and #2C4840 with #402C48 are triadic colors.

2 #482C40 and #2C4048 with #402C48 are triadic colors.