COLOR #402D53

HEX: #402D53
RGB: (64,45,83)

Color info

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

RGB color model

#402D53 color RGB value is (64,45,83).

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

RGB channels and saturation

R 64 of 255 = 25%
G 45 of 255 = 18%
B 83 of 255 = 33%

64
45
83

R + G + B ~ 25%. #402D53 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 45 + 83 = 192 (100%)
R 64 of 192 ~ 33.33%
G 45 of 192 ~ 23.44%
B 83 of 192 ~ 43.23%

%33.33
%23.44
%43.23

CMYK color model

#402D53 color CMYK value is (23,46,0,67).

  • cyan value is 22.89%
  • magenta value is 45.78%
  • yellow value is 0.00%
  • key color value is 67.45%
CMYK:
(23,46,0,67)
C23M46Y0K67 
(23%,46%,0%,67%)
(0.23/0.46/0.00/0.67)	

CMYK percentages

%22.89
%45.78
%0
%67.45

Codes

Color #402D53 in popluar color models

402D53
RGB644583
HSL270°29.69%25.10%
HSB/HSV270°45.78%32.55%
CMYK22.89%45.78%0.00%
67.45%

Color #402D53 in popluar number systems.

HEX402D53
Decimal644583
Binary10000001011011010011
Octal10055123

Shades and tints

Shades of #402D53

#402D53
(64,45,83)
#3B294C
(59,41,76)
#362545
(54,37,69)
#31213E
(49,33,62)
#2C1D37
(44,29,55)
#271930
(39,25,48)
#221529
(34,21,41)
#1D1122
(29,17,34)
#180D1B
(24,13,27)
#130914
(19,9,20)
#0E050D
(14,5,13)
#000000
(0,0,0)

Tints of #402D53

#402D53
(64,45,83)
#514062
(81,64,98)
#625371
(98,83,113)
#736680
(115,102,128)
#84798F
(132,121,143)
#958C9E
(149,140,158)
#A69FAD
(166,159,173)
#B7B2BC
(183,178,188)
#C8C5CB
(200,197,203)
#D9D8DA
(217,216,218)
#EAEBE9
(234,235,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402D53; }

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

This text font color is #402D53.


Background Color

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

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

This div background color is #402D53.


Border color

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

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

This div border color is #402D53.


Opacity

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

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

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

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

This text has shadow with #402D53 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402D53 on black background.


Color preview on white background

This text has color #402D53 on white background.



Black color preview on #402D53 background

This text has black color on #402D53 background.


White color preview on #402D53 background

This text has white color on #402D53 background.