COLOR #2E40D4

HEX: #2E40D4
RGB: (46,64,212)

Color info

#2E40D4 contains mainly blue color. Web safe color of #2E40D4 is #3333CC (or #33C).

RGB color model

#2E40D4 color RGB value is (46,64,212).

  • red value is 46;
  • green value is 64;
  • blue value is 212.
RGB:
(46,64,212)
(18%,25%,83%)

RGB channels and saturation

R 46 of 255 = 18%
G 64 of 255 = 25%
B 212 of 255 = 83%

46
64
212

R + G + B ~ 42%. #2E40D4 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
46 + 64 + 212 = 322 (100%)
R 46 of 322 ~ 14.29%
G 64 of 322 ~ 19.88%
B 212 of 322 ~ 65.84%

%14.29
%19.88
%65.84

CMYK color model

#2E40D4 color CMYK value is (78,70,0,17).

  • cyan value is 78.30%
  • magenta value is 69.81%
  • yellow value is 0.00%
  • key color value is 16.86%
CMYK:
(78,70,0,17)
C78M70Y0K17 
(78%,70%,0%,17%)
(0.78/0.70/0.00/0.17)	

CMYK percentages

%78.3
%69.81
%0
%16.86

Codes

Color #2E40D4 in popluar color models

2E40D4
RGB4664212
HSL233°65.87%50.59%
HSB/HSV233°78.30%83.14%
CMYK78.30%69.81%0.00%
16.86%

Color #2E40D4 in popluar number systems.

HEX2E40D4
Decimal4664212
Binary101110100000011010100
Octal56100324

Shades and tints

Shades of #2E40D4

#2E40D4
(46,64,212)
#2A3BC1
(42,59,193)
#2636AE
(38,54,174)
#22319B
(34,49,155)
#1E2C88
(30,44,136)
#1A2775
(26,39,117)
#162262
(22,34,98)
#121D4F
(18,29,79)
#0E183C
(14,24,60)
#0A1329
(10,19,41)
#060E16
(6,14,22)
#000000
(0,0,0)

Tints of #2E40D4

#2E40D4
(46,64,212)
#4151D7
(65,81,215)
#5462DA
(84,98,218)
#6773DD
(103,115,221)
#7A84E0
(122,132,224)
#8D95E3
(141,149,227)
#A0A6E6
(160,166,230)
#B3B7E9
(179,183,233)
#C6C8EC
(198,200,236)
#D9D9EF
(217,217,239)
#ECEAF2
(236,234,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2E40D4 color. Also use rgb(46,64,212) instead hex code.

Text Font Color

.myTextColor { color: #2E40D4; }

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

This text font color is #2E40D4.


Background Color

.myBgColor { background-color: #2E40D4; }

<div style="background-color:#2E40D4">Inner text</div>

This div background color is #2E40D4.


Border color

.myBorderColor { border: 1px solid #2E40D4; }

<div style="border:3px solid #2E40D4">Div</div>

This div border color is #2E40D4.


Opacity

.myOpacity80 { color: #2E40D4; opacity: 0.8; }

<p style="color:#2E40D4;opacity:0.8;">80%</p>

Text with #2E40D4 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 #2E40D4;}

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

This text has shadow with #2E40D4 color.

.textShadow {text-shadow: 3px 3px 1px #2E40D4, 3px 3px 1px red;}

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

This text has shadow with #2E40D4 primary color and red secondary color.


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

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

This text has shadow with #2E40D4 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2E40D4 on black background.


Color preview on white background

This text has color #2E40D4 on white background.



Black color preview on #2E40D4 background

This text has black color on #2E40D4 background.


White color preview on #2E40D4 background

This text has white color on #2E40D4 background.