COLOR #402348

HEX: #402348 RGB: (64,35,72)

Color info

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

RGB color model

#402348 color RGB value is (64,35,72).

RGB: (64,35,72) (25%, 14%, 28%)

RGB channels and saturation

R 64 of 255 = 25%
G 35 of 255 = 14%
B 72 of 255 = 28%

64
35
72

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

Portions of RGB colors in percentages

R + G + B = 64 + 35 + 72 = 171 (100%)
R 64 of 171 ~ 37.43%
G 35 of 171 ~ 20.47%
B 72 of 171 ~ 42.11'%

%37.43
%20.47
%42.11

CMYK color model

#402348 color CMYK value is (11,51,0,72).

  • cyan value is 11.11%
  • magenta value is 51.39%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK: (11,51,0,72) C11M51Y0K72 (11%,51%,0%,72%) (0.11/0.51/0.00/0.72) 

CMYK percentages

%11.11
%51.39
%0
%71.76

Codes

Color #402348 in popluar color models

40 23 48
RGB 64 35 72
HSL 287° 34.58% 20.98%
HSB/HSV 287° 51.39% 28.24%
CMYK 11.11% 51.39% 0.00%
71.76%

Color #402348 in popluar number systems.

HEX 40 23 48
Decimal 64 35 72
Binary 1000000 100011 1001000
Octal 100 43 110

Shades and tints

Shades of #402348

#402348
(64,35,72)
#3B2042
(59,32,66)
#361D3C
(54,29,60)
#311A36
(49,26,54)
#2C1730
(44,23,48)
#27142A
(39,20,42)
#221124
(34,17,36)
#1D0E1E
(29,14,30)
#180B18
(24,11,24)
#130812
(19,8,18)
#0E050C
(14,5,12)
#000000
(0,0,0)

Tints of #402348

#402348
(64,35,72)
#513758
(81,55,88)
#624B68
(98,75,104)
#735F78
(115,95,120)
#847388
(132,115,136)
#958798
(149,135,152)
#A69BA8
(166,155,168)
#B7AFB8
(183,175,184)
#C8C3C8
(200,195,200)
#D9D7D8
(217,215,216)
#EAEBE8
(234,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402348; }

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

This text font color is #402348.

Background Color

.myBgColor { background-color: #402348; }

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

This div background color is #402348.

Border color

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

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

This div border color is #402348.

Opacity

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

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

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

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

This text has shadow with #402348 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402348.

Preview

Color preview on black background

This text has color #402348 on black background.


Color preview on white background

This text has color #402348 on white background.


Black color preview on #402348 background

This text has black color on #402348 background.


White color preview on #402348 background

This text has white color on #402348 background.


Related colors

Complementary color

Complementary color for #hex is #BFDCB7.


I love getcolorcode.com

Triadic colors

1 #484023 and #234840 with #402348 are triadic colors.

2 #482340 and #234048 with #402348 are triadic colors.