COLOR #402D69

HEX: #402D69 RGB: (64,45,105)

Color info

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

RGB color model

#402D69 color RGB value is (64,45,105).

RGB: (64,45,105) (25%, 18%, 41%)

RGB channels and saturation

R 64 of 255 = 25%
G 45 of 255 = 18%
B 105 of 255 = 41%

64
45
105

R + G + B ~ 28%. #402D69 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 45 + 105 = 214 (100%)
R 64 of 214 ~ 29.91%
G 45 of 214 ~ 21.03%
B 105 of 214 ~ 49.07'%

%29.91
%21.03
%49.07

CMYK color model

#402D69 color CMYK value is (39,57,0,59).

  • cyan value is 39.05%
  • magenta value is 57.14%
  • yellow value is 0.00%
  • key color value is 58.82%

CMYK: (39,57,0,59)
C39M57Y0K59 (39%, 57%, 0%, 59%)
(0.39 / 0.57 / 0.00 / 0.59)

CMYK percentages

%39.05
%57.14
%0
%58.82

Codes

Color #402D69 in popluar color models

40 2D 69
RGB 64 45 105
HSL 259° 40.00% 29.41%
HSB/HSV 259° 57.14% 41.18%
CMYK 39.05% 57.14% 0.00%
58.82%

Color #402D69 in popluar number systems.

HEX 40 2D 69
Decimal 64 45 105
Binary 1000000 101101 1101001
Octal 100 55 151

Shades and tints

Shades of #402D69

#402D69
(64,45,105)
#3B2960
(59,41,96)
#362557
(54,37,87)
#31214E
(49,33,78)
#2C1D45
(44,29,69)
#27193C
(39,25,60)
#221533
(34,21,51)
#1D112A
(29,17,42)
#180D21
(24,13,33)
#130918
(19,9,24)
#0E050F
(14,5,15)
#000000
(0,0,0)

Tints of #402D69

#402D69
(64,45,105)
#514076
(81,64,118)
#625383
(98,83,131)
#736690
(115,102,144)
#84799D
(132,121,157)
#958CAA
(149,140,170)
#A69FB7
(166,159,183)
#B7B2C4
(183,178,196)
#C8C5D1
(200,197,209)
#D9D8DE
(217,216,222)
#EAEBEB
(234,235,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402D69; }

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

This text font color is #402D69.

Background Color

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

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

This div background color is #402D69.

Border color

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

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

This div border color is #402D69.

Opacity

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

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

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

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

This text has shadow with #402D69 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #402D69.

Preview

Color preview on black background

This text has color #402D69 on black background.


Color preview on white background

This text has color #402D69 on white background.


Black color preview on #402D69 background

This text has black color on #402D69 background.


White color preview on #402D69 background

This text has white color on #402D69 background.


Related colors

Complementary color

Complementary color for #hex is #BFD296.


I love getcolorcode.com

Triadic colors

1 #69402D and #2D6940 with #402D69 are triadic colors.

2 #692D40 and #2D4069 with #402D69 are triadic colors.