COLOR #40117B

HEX: #40117B RGB: (64,17,123)

Color info

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

RGB color model

#40117B color RGB value is (64,17,123).

RGB: (64,17,123) (25%, 7%, 48%)

RGB channels and saturation

R 64 of 255 = 25%
G 17 of 255 = 7%
B 123 of 255 = 48%

64
17
123

R + G + B ~ 27%. #40117B is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 17 + 123 = 204 (100%)
R 64 of 204 ~ 31.37%
G 17 of 204 ~ 8.33%
B 123 of 204 ~ 60.29'%

%31.37
%60.29

CMYK color model

#40117B color CMYK value is (48,86,0,52).

  • cyan value is 47.97%
  • magenta value is 86.18%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (48,86,0,52)
C48M86Y0K52 (48%, 86%, 0%, 52%)
(0.48 / 0.86 / 0.00 / 0.52)

CMYK percentages

%47.97
%86.18
%0
%51.76

Codes

Color #40117B in popluar color models

40 11 7B
RGB 64 17 123
HSL 267° 75.71% 27.45%
HSB/HSV 267° 86.18% 48.24%
CMYK 47.97% 86.18% 0.00%
51.76%

Color #40117B in popluar number systems.

HEX 40 11 7B
Decimal 64 17 123
Binary 1000000 10001 1111011
Octal 100 21 173

Shades and tints

Shades of #40117B

#40117B
(64,17,123)
#3B1070
(59,16,112)
#360F65
(54,15,101)
#310E5A
(49,14,90)
#2C0D4F
(44,13,79)
#270C44
(39,12,68)
#220B39
(34,11,57)
#1D0A2E
(29,10,46)
#180923
(24,9,35)
#130818
(19,8,24)
#0E070D
(14,7,13)
#000000
(0,0,0)

Tints of #40117B

#40117B
(64,17,123)
#512687
(81,38,135)
#623B93
(98,59,147)
#73509F
(115,80,159)
#8465AB
(132,101,171)
#957AB7
(149,122,183)
#A68FC3
(166,143,195)
#B7A4CF
(183,164,207)
#C8B9DB
(200,185,219)
#D9CEE7
(217,206,231)
#EAE3F3
(234,227,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40117B color. Also use rgb(64,17,123) instead hex code.

Text Font Color

.myTextColor { color: #40117B; }

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

This text font color is #40117B.

Background Color

.myBgColor { background-color: #40117B; }

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

This div background color is #40117B.

Border color

.myBorderColor { border: 1px solid #40117B; }

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

This div border color is #40117B.

Opacity

.myOpacity80 { color: #40117B; opacity: 0.8; }

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

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

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

This text has shadow with #40117B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40117B.

Preview

Color preview on black background

This text has color #40117B on black background.


Color preview on white background

This text has color #40117B on white background.


Black color preview on #40117B background

This text has black color on #40117B background.


White color preview on #40117B background

This text has white color on #40117B background.


Related colors

Complementary color

Complementary color for #hex is #BFEE84.


I love getcolorcode.com

Triadic colors

1 #7B4011 and #117B40 with #40117B are triadic colors.

2 #7B1140 and #11407B with #40117B are triadic colors.