COLOR #402393

HEX: #402393
RGB: (64,35,147)

Color info

#402393 contains mainly blue color. Web safe color of #402393 is #333399 (or #339).

RGB color model

#402393 color RGB value is (64,35,147).

  • red value is 64;
  • green value is 35;
  • blue value is 147.
RGB:
(64,35,147)
(25%,14%,58%)

RGB channels and saturation

R 64 of 255 = 25%
G 35 of 255 = 14%
B 147 of 255 = 58%

64
35
147

R + G + B ~ 32%. #402393 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 35 + 147 = 246 (100%)
R 64 of 246 ~ 26.02%
G 35 of 246 ~ 14.23%
B 147 of 246 ~ 59.76%

%26.02
%14.23
%59.76

CMYK color model

#402393 color CMYK value is (56,76,0,42).

  • cyan value is 56.46%
  • magenta value is 76.19%
  • yellow value is 0.00%
  • key color value is 42.35%
CMYK:
(56,76,0,42)
C56M76Y0K42 
(56%,76%,0%,42%)
(0.56/0.76/0.00/0.42)	

CMYK percentages

%56.46
%76.19
%0
%42.35

Codes

Color #402393 in popluar color models

402393
RGB6435147
HSL256°61.54%35.69%
HSB/HSV256°76.19%57.65%
CMYK56.46%76.19%0.00%
42.35%

Color #402393 in popluar number systems.

HEX402393
Decimal6435147
Binary100000010001110010011
Octal10043223

Shades and tints

Shades of #402393

#402393
(64,35,147)
#3B2086
(59,32,134)
#361D79
(54,29,121)
#311A6C
(49,26,108)
#2C175F
(44,23,95)
#271452
(39,20,82)
#221145
(34,17,69)
#1D0E38
(29,14,56)
#180B2B
(24,11,43)
#13081E
(19,8,30)
#0E0511
(14,5,17)
#000000
(0,0,0)

Tints of #402393

#402393
(64,35,147)
#51379C
(81,55,156)
#624BA5
(98,75,165)
#735FAE
(115,95,174)
#8473B7
(132,115,183)
#9587C0
(149,135,192)
#A69BC9
(166,155,201)
#B7AFD2
(183,175,210)
#C8C3DB
(200,195,219)
#D9D7E4
(217,215,228)
#EAEBED
(234,235,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402393; }

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

This text font color is #402393.


Background Color

.myBgColor { background-color: #402393; }

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

This div background color is #402393.


Border color

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

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

This div border color is #402393.


Opacity

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

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

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

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

This text has shadow with #402393 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402393 on black background.


Color preview on white background

This text has color #402393 on white background.



Black color preview on #402393 background

This text has black color on #402393 background.


White color preview on #402393 background

This text has white color on #402393 background.