COLOR #402692

HEX: #402692 RGB: (64,38,146)

Color info

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

RGB color model

#402692 color RGB value is (64,38,146).

RGB: (64,38,146) (25%, 15%, 57%)

RGB channels and saturation

R 64 of 255 = 25%
G 38 of 255 = 15%
B 146 of 255 = 57%

64
38
146

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

Portions of RGB colors in percentages

R + G + B = 64 + 38 + 146 = 248 (100%)
R 64 of 248 ~ 25.81%
G 38 of 248 ~ 15.32%
B 146 of 248 ~ 58.87'%

%25.81
%15.32
%58.87

CMYK color model

#402692 color CMYK value is (56,74,0,43).

  • cyan value is 56.16%
  • magenta value is 73.97%
  • yellow value is 0.00%
  • key color value is 42.75%

CMYK: (56,74,0,43)
C56M74Y0K43 (56%, 74%, 0%, 43%)
(0.56 / 0.74 / 0.00 / 0.43)

CMYK percentages

%56.16
%73.97
%0
%42.75

Codes

Color #402692 in popluar color models

40 26 92
RGB 64 38 146
HSL 254° 58.70% 36.08%
HSB/HSV 254° 73.97% 57.25%
CMYK 56.16% 73.97% 0.00%
42.75%

Color #402692 in popluar number systems.

HEX 40 26 92
Decimal 64 38 146
Binary 1000000 100110 10010010
Octal 100 46 222

Shades and tints

Shades of #402692

#402692
(64,38,146)
#3B2385
(59,35,133)
#362078
(54,32,120)
#311D6B
(49,29,107)
#2C1A5E
(44,26,94)
#271751
(39,23,81)
#221444
(34,20,68)
#1D1137
(29,17,55)
#180E2A
(24,14,42)
#130B1D
(19,11,29)
#0E0810
(14,8,16)
#000000
(0,0,0)

Tints of #402692

#402692
(64,38,146)
#51399B
(81,57,155)
#624CA4
(98,76,164)
#735FAD
(115,95,173)
#8472B6
(132,114,182)
#9585BF
(149,133,191)
#A698C8
(166,152,200)
#B7ABD1
(183,171,209)
#C8BEDA
(200,190,218)
#D9D1E3
(217,209,227)
#EAE4EC
(234,228,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402692 color. Also use rgb(64,38,146) instead hex code.

Text Font Color

.myTextColor { color: #402692; }

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

This text font color is #402692.

Background Color

.myBgColor { background-color: #402692; }

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

This div background color is #402692.

Border color

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

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

This div border color is #402692.

Opacity

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

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

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

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

This text has shadow with #402692 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402692.

Preview

Color preview on black background

This text has color #402692 on black background.


Color preview on white background

This text has color #402692 on white background.


Black color preview on #402692 background

This text has black color on #402692 background.


White color preview on #402692 background

This text has white color on #402692 background.


Related colors

Complementary color

Complementary color for #hex is #BFD96D.


I love getcolorcode.com

Triadic colors

1 #924026 and #269240 with #402692 are triadic colors.

2 #922640 and #264092 with #402692 are triadic colors.