COLOR #401A52

HEX: #401A52
RGB: (64,26,82)

Color info

#401A52 contains red, green and blue colors in about the same proportion. Web safe color of #401A52 is #330066 (or #306).

RGB color model

#401A52 color RGB value is (64,26,82).

  • red value is 64;
  • green value is 26;
  • blue value is 82.
RGB:
(64,26,82)
(25%,10%,32%)

RGB channels and saturation

R 64 of 255 = 25%
G 26 of 255 = 10%
B 82 of 255 = 32%

64
26
82

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

Portions of RGB colors in percentages

R + G + B =
64 + 26 + 82 = 172 (100%)
R 64 of 172 ~ 37.21%
G 26 of 172 ~ 15.12%
B 82 of 172 ~ 47.67%

%37.21
%15.12
%47.67

CMYK color model

#401A52 color CMYK value is (22,68,0,68).

  • cyan value is 21.95%
  • magenta value is 68.29%
  • yellow value is 0.00%
  • key color value is 67.84%
CMYK:
(22,68,0,68)
C22M68Y0K68 
(22%,68%,0%,68%)
(0.22/0.68/0.00/0.68)	

CMYK percentages

%21.95
%68.29
%0
%67.84

Codes

Color #401A52 in popluar color models

401A52
RGB642682
HSL281°51.85%21.18%
HSB/HSV281°68.29%32.16%
CMYK21.95%68.29%0.00%
67.84%

Color #401A52 in popluar number systems.

HEX401A52
Decimal642682
Binary1000000110101010010
Octal10032122

Shades and tints

Shades of #401A52

#401A52
(64,26,82)
#3B184B
(59,24,75)
#361644
(54,22,68)
#31143D
(49,20,61)
#2C1236
(44,18,54)
#27102F
(39,16,47)
#220E28
(34,14,40)
#1D0C21
(29,12,33)
#180A1A
(24,10,26)
#130813
(19,8,19)
#0E060C
(14,6,12)
#000000
(0,0,0)

Tints of #401A52

#401A52
(64,26,82)
#512E61
(81,46,97)
#624270
(98,66,112)
#73567F
(115,86,127)
#846A8E
(132,106,142)
#957E9D
(149,126,157)
#A692AC
(166,146,172)
#B7A6BB
(183,166,187)
#C8BACA
(200,186,202)
#D9CED9
(217,206,217)
#EAE2E8
(234,226,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #401A52 color. Also use rgb(64,26,82) instead hex code.

Text Font Color

.myTextColor { color: #401A52; }

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

This text font color is #401A52.


Background Color

.myBgColor { background-color: #401A52; }

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

This div background color is #401A52.


Border color

.myBorderColor { border: 1px solid #401A52; }

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

This div border color is #401A52.


Opacity

.myOpacity80 { color: #401A52; opacity: 0.8; }

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

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

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

This text has shadow with #401A52 color.

.textShadow {text-shadow: 3px 3px 1px #401A52, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #401A52 on black background.


Color preview on white background

This text has color #401A52 on white background.



Black color preview on #401A52 background

This text has black color on #401A52 background.


White color preview on #401A52 background

This text has white color on #401A52 background.