COLOR #402C5D

HEX: #402C5D RGB: (64,44,93)

Color info

#402C5D contains red, green and blue colors in about the same proportion. Web safe color of #402C5D is #333366 (or #336).

RGB color model

#402C5D color RGB value is (64,44,93).

RGB: (64,44,93) (25%, 17%, 36%)

RGB channels and saturation

R 64 of 255 = 25%
G 44 of 255 = 17%
B 93 of 255 = 36%

64
44
93

R + G + B ~ 26%. #402C5D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 44 + 93 = 201 (100%)
R 64 of 201 ~ 31.84%
G 44 of 201 ~ 21.89%
B 93 of 201 ~ 46.27'%

%31.84
%21.89
%46.27

CMYK color model

#402C5D color CMYK value is (31,53,0,64).

  • cyan value is 31.18%
  • magenta value is 52.69%
  • yellow value is 0.00%
  • key color value is 63.53%
CMYK: (31,53,0,64) C31M53Y0K64 (31%,53%,0%,64%) (0.31/0.53/0.00/0.64) 

CMYK percentages

%31.18
%52.69
%0
%63.53

Codes

Color #402C5D in popluar color models

40 2C 5D
RGB 64 44 93
HSL 264° 35.77% 26.86%
HSB/HSV 264° 52.69% 36.47%
CMYK 31.18% 52.69% 0.00%
63.53%

Color #402C5D in popluar number systems.

HEX 40 2C 5D
Decimal 64 44 93
Binary 1000000 101100 1011101
Octal 100 54 135

Shades and tints

Shades of #402C5D

#402C5D
(64,44,93)
#3B2855
(59,40,85)
#36244D
(54,36,77)
#312045
(49,32,69)
#2C1C3D
(44,28,61)
#271835
(39,24,53)
#22142D
(34,20,45)
#1D1025
(29,16,37)
#180C1D
(24,12,29)
#130815
(19,8,21)
#0E040D
(14,4,13)
#000000
(0,0,0)

Tints of #402C5D

#402C5D
(64,44,93)
#513F6B
(81,63,107)
#625279
(98,82,121)
#736587
(115,101,135)
#847895
(132,120,149)
#958BA3
(149,139,163)
#A69EB1
(166,158,177)
#B7B1BF
(183,177,191)
#C8C4CD
(200,196,205)
#D9D7DB
(217,215,219)
#EAEAE9
(234,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402C5D; }

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

This text font color is #402C5D.

Background Color

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

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

This div background color is #402C5D.

Border color

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

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

This div border color is #402C5D.

Opacity

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

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

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

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

This text has shadow with #402C5D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402C5D.

Preview

Color preview on black background

This text has color #402C5D on black background.


Color preview on white background

This text has color #402C5D on white background.


Black color preview on #402C5D background

This text has black color on #402C5D background.


White color preview on #402C5D background

This text has white color on #402C5D background.


Related colors

Complementary color

Complementary color for #hex is #BFD3A2.


I love getcolorcode.com

Triadic colors

1 #5D402C and #2C5D40 with #402C5D are triadic colors.

2 #5D2C40 and #2C405D with #402C5D are triadic colors.