COLOR #40176F

HEX: #40176F RGB: (64,23,111)

Color info

#40176F contains mainly red and blue colors. Web safe color of #40176F is #330066 (or #306).

RGB color model

#40176F color RGB value is (64,23,111).

RGB: (64,23,111) (25%, 9%, 44%)

RGB channels and saturation

R 64 of 255 = 25%
G 23 of 255 = 9%
B 111 of 255 = 44%

64
23
111

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

Portions of RGB colors in percentages

R + G + B = 64 + 23 + 111 = 198 (100%)
R 64 of 198 ~ 32.32%
G 23 of 198 ~ 11.62%
B 111 of 198 ~ 56.06'%

%32.32
%11.62
%56.06

CMYK color model

#40176F color CMYK value is (42,79,0,56).

  • cyan value is 42.34%
  • magenta value is 79.28%
  • yellow value is 0.00%
  • key color value is 56.47%

CMYK: (42,79,0,56)
C42M79Y0K56 (42%, 79%, 0%, 56%)
(0.42 / 0.79 / 0.00 / 0.56)

CMYK percentages

%42.34
%79.28
%0
%56.47

Codes

Color #40176F in popluar color models

40 17 6F
RGB 64 23 111
HSL 268° 65.67% 26.27%
HSB/HSV 268° 79.28% 43.53%
CMYK 42.34% 79.28% 0.00%
56.47%

Color #40176F in popluar number systems.

HEX 40 17 6F
Decimal 64 23 111
Binary 1000000 10111 1101111
Octal 100 27 157

Shades and tints

Shades of #40176F

#40176F
(64,23,111)
#3B1565
(59,21,101)
#36135B
(54,19,91)
#311151
(49,17,81)
#2C0F47
(44,15,71)
#270D3D
(39,13,61)
#220B33
(34,11,51)
#1D0929
(29,9,41)
#18071F
(24,7,31)
#130515
(19,5,21)
#0E030B
(14,3,11)
#000000
(0,0,0)

Tints of #40176F

#40176F
(64,23,111)
#512C7C
(81,44,124)
#624189
(98,65,137)
#735696
(115,86,150)
#846BA3
(132,107,163)
#9580B0
(149,128,176)
#A695BD
(166,149,189)
#B7AACA
(183,170,202)
#C8BFD7
(200,191,215)
#D9D4E4
(217,212,228)
#EAE9F1
(234,233,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40176F color. Also use rgb(64,23,111) instead hex code.

Text Font Color

.myTextColor { color: #40176F; }

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

This text font color is #40176F.

Background Color

.myBgColor { background-color: #40176F; }

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

This div background color is #40176F.

Border color

.myBorderColor { border: 1px solid #40176F; }

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

This div border color is #40176F.

Opacity

.myOpacity80 { color: #40176F; opacity: 0.8; }

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

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

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

This text has shadow with #40176F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40176F.

Preview

Color preview on black background

This text has color #40176F on black background.


Color preview on white background

This text has color #40176F on white background.


Black color preview on #40176F background

This text has black color on #40176F background.


White color preview on #40176F background

This text has white color on #40176F background.


Related colors

Complementary color

Complementary color for #hex is #BFE890.


I love getcolorcode.com

Triadic colors

1 #6F4017 and #176F40 with #40176F are triadic colors.

2 #6F1740 and #17406F with #40176F are triadic colors.