COLOR #40004B

HEX: #40004B
RGB: (64,0,75)

Color info

#40004B contains only red and blue colors. Web safe color of #40004B is #330033 (or #303).

RGB color model

#40004B color RGB value is (64,0,75).

  • red value is 64;
  • green value is 0;
  • blue value is 75.
RGB:
(64,0,75)
(25%,0%,29%)

RGB channels and saturation

R 64 of 255 = 25%
G 0 of 255 = 0%
B 75 of 255 = 29%

64
0
75

R + G + B ~ 18%. #40004B is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 0 + 75 = 139 (100%)
R 64 of 139 ~ 46.04%
G 0 of 139 ~ 0%
B 75 of 139 ~ 53.96%

%46.04
%53.96

CMYK color model

#40004B color CMYK value is (15,100,0,71).

  • cyan value is 14.67%
  • magenta value is 100.00%
  • yellow value is 0.00%
  • key color value is 70.59%
CMYK:
(15,100,0,71)
C15M100Y0K71 
(15%,100%,0%,71%)
(0.15/1.00/0.00/0.71)	

CMYK percentages

%14.67
%100
%0
%70.59

Codes

Color #40004B in popluar color models

40004B
RGB64075
HSL291°100.00%14.71%
HSB/HSV291°100.00%29.41%
CMYK14.67%100.00%0.00%
70.59%

Color #40004B in popluar number systems.

HEX40004B
Decimal64075
Binary100000001001011
Octal1000113

Shades and tints

Shades of #40004B

#40004B
(64,0,75)
#3B0045
(59,0,69)
#36003F
(54,0,63)
#310039
(49,0,57)
#2C0033
(44,0,51)
#27002D
(39,0,45)
#220027
(34,0,39)
#1D0021
(29,0,33)
#18001B
(24,0,27)
#130015
(19,0,21)
#0E000F
(14,0,15)
#000000
(0,0,0)

Tints of #40004B

#40004B
(64,0,75)
#51175B
(81,23,91)
#622E6B
(98,46,107)
#73457B
(115,69,123)
#845C8B
(132,92,139)
#95739B
(149,115,155)
#A68AAB
(166,138,171)
#B7A1BB
(183,161,187)
#C8B8CB
(200,184,203)
#D9CFDB
(217,207,219)
#EAE6EB
(234,230,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40004B color. Also use rgb(64,0,75) instead hex code.

Text Font Color

.myTextColor { color: #40004B; }

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

This text font color is #40004B.


Background Color

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

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

This div background color is #40004B.


Border color

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

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

This div border color is #40004B.


Opacity

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

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

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

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

This text has shadow with #40004B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40004B on black background.


Color preview on white background

This text has color #40004B on white background.



Black color preview on #40004B background

This text has black color on #40004B background.


White color preview on #40004B background

This text has white color on #40004B background.