COLOR #402068

HEX: #402068 RGB: (64,32,104)

Color info

#402068 contains mainly red and blue colors. Web safe color of #402068 is #333366 (or #336).

RGB color model

#402068 color RGB value is (64,32,104).

RGB: (64,32,104) (25%, 13%, 41%)

RGB channels and saturation

R 64 of 255 = 25%
G 32 of 255 = 13%
B 104 of 255 = 41%

64
32
104

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

Portions of RGB colors in percentages

R + G + B = 64 + 32 + 104 = 200 (100%)
R 64 of 200 ~ 32%
G 32 of 200 ~ 16%
B 104 of 200 ~ 52'%

%32
%16
%52

CMYK color model

#402068 color CMYK value is (38,69,0,59).

  • cyan value is 38.46%
  • magenta value is 69.23%
  • yellow value is 0.00%
  • key color value is 59.22%

CMYK: (38,69,0,59)
C38M69Y0K59 (38%, 69%, 0%, 59%)
(0.38 / 0.69 / 0.00 / 0.59)

CMYK percentages

%38.46
%69.23
%0
%59.22

Codes

Color #402068 in popluar color models

40 20 68
RGB 64 32 104
HSL 267° 52.94% 26.67%
HSB/HSV 267° 69.23% 40.78%
CMYK 38.46% 69.23% 0.00%
59.22%

Color #402068 in popluar number systems.

HEX 40 20 68
Decimal 64 32 104
Binary 1000000 100000 1101000
Octal 100 40 150

Shades and tints

Shades of #402068

#402068
(64,32,104)
#3B1E5F
(59,30,95)
#361C56
(54,28,86)
#311A4D
(49,26,77)
#2C1844
(44,24,68)
#27163B
(39,22,59)
#221432
(34,20,50)
#1D1229
(29,18,41)
#181020
(24,16,32)
#130E17
(19,14,23)
#0E0C0E
(14,12,14)
#000000
(0,0,0)

Tints of #402068

#402068
(64,32,104)
#513475
(81,52,117)
#624882
(98,72,130)
#735C8F
(115,92,143)
#84709C
(132,112,156)
#9584A9
(149,132,169)
#A698B6
(166,152,182)
#B7ACC3
(183,172,195)
#C8C0D0
(200,192,208)
#D9D4DD
(217,212,221)
#EAE8EA
(234,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #402068 color. Also use rgb(64,32,104) instead hex code.

Text Font Color

.myTextColor { color: #402068; }

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

This text font color is #402068.

Background Color

.myBgColor { background-color: #402068; }

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

This div background color is #402068.

Border color

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

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

This div border color is #402068.

Opacity

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

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

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

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

This text has shadow with #402068 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402068.

Preview

Color preview on black background

This text has color #402068 on black background.


Color preview on white background

This text has color #402068 on white background.


Black color preview on #402068 background

This text has black color on #402068 background.


White color preview on #402068 background

This text has white color on #402068 background.


Related colors

Complementary color

Complementary color for #hex is #BFDF97.


I love getcolorcode.com

Triadic colors

1 #684020 and #206840 with #402068 are triadic colors.

2 #682040 and #204068 with #402068 are triadic colors.