COLOR #40254B

HEX: #40254B
RGB: (64,37,75)

Color info

#40254B contains red, green and blue colors in about the same proportion. Web safe color of #40254B is #333333 (or #333).

RGB color model

#40254B color RGB value is (64,37,75).

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

RGB channels and saturation

R 64 of 255 = 25%
G 37 of 255 = 15%
B 75 of 255 = 29%

64
37
75

R + G + B ~ 23%. #40254B is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 37 + 75 = 176 (100%)
R 64 of 176 ~ 36.36%
G 37 of 176 ~ 21.02%
B 75 of 176 ~ 42.61%

%36.36
%21.02
%42.61

CMYK color model

#40254B color CMYK value is (15,51,0,71).

  • cyan value is 14.67%
  • magenta value is 50.67%
  • yellow value is 0.00%
  • key color value is 70.59%
CMYK:
(15,51,0,71)
C15M51Y0K71 
(15%,51%,0%,71%)
(0.15/0.51/0.00/0.71)	

CMYK percentages

%14.67
%50.67
%0
%70.59

Codes

Color #40254B in popluar color models

40254B
RGB643775
HSL283°33.93%21.96%
HSB/HSV283°50.67%29.41%
CMYK14.67%50.67%0.00%
70.59%

Color #40254B in popluar number systems.

HEX40254B
Decimal643775
Binary10000001001011001011
Octal10045113

Shades and tints

Shades of #40254B

#40254B
(64,37,75)
#3B2245
(59,34,69)
#361F3F
(54,31,63)
#311C39
(49,28,57)
#2C1933
(44,25,51)
#27162D
(39,22,45)
#221327
(34,19,39)
#1D1021
(29,16,33)
#180D1B
(24,13,27)
#130A15
(19,10,21)
#0E070F
(14,7,15)
#000000
(0,0,0)

Tints of #40254B

#40254B
(64,37,75)
#51385B
(81,56,91)
#624B6B
(98,75,107)
#735E7B
(115,94,123)
#84718B
(132,113,139)
#95849B
(149,132,155)
#A697AB
(166,151,171)
#B7AABB
(183,170,187)
#C8BDCB
(200,189,203)
#D9D0DB
(217,208,219)
#EAE3EB
(234,227,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40254B; }

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

This text font color is #40254B.


Background Color

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

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

This div background color is #40254B.


Border color

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

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

This div border color is #40254B.


Opacity

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

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

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

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

This text has shadow with #40254B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40254B on black background.


Color preview on white background

This text has color #40254B on white background.



Black color preview on #40254B background

This text has black color on #40254B background.


White color preview on #40254B background

This text has white color on #40254B background.