COLOR #151E40

HEX: #151E40
RGB: (21,30,64)

Color info

#151E40 contains red, green and blue colors in about the same proportion. Web safe color of #151E40 is #003333 (or #033).

RGB color model

#151E40 color RGB value is (21,30,64).

  • red value is 21;
  • green value is 30;
  • blue value is 64.
RGB:
(21,30,64)
(8%,12%,25%)

RGB channels and saturation

R 21 of 255 = 8%
G 30 of 255 = 12%
B 64 of 255 = 25%

21
30
64

R + G + B ~ 15%. #151E40 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 30 + 64 = 115 (100%)
R 21 of 115 ~ 18.26%
G 30 of 115 ~ 26.09%
B 64 of 115 ~ 55.65%

%18.26
%26.09
%55.65

CMYK color model

#151E40 color CMYK value is (67,53,0,75).

  • cyan value is 67.19%
  • magenta value is 53.13%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(67,53,0,75)
C67M53Y0K75 
(67%,53%,0%,75%)
(0.67/0.53/0.00/0.75)	

CMYK percentages

%67.19
%53.13
%0
%74.9

Codes

Color #151E40 in popluar color models

151E40
RGB213064
HSL227°50.59%16.67%
HSB/HSV227°67.19%25.10%
CMYK67.19%53.13%0.00%
74.90%

Color #151E40 in popluar number systems.

HEX151E40
Decimal213064
Binary10101111101000000
Octal2536100

Shades and tints

Shades of #151E40

#151E40
(21,30,64)
#141C3B
(20,28,59)
#131A36
(19,26,54)
#121831
(18,24,49)
#11162C
(17,22,44)
#101427
(16,20,39)
#0F1222
(15,18,34)
#0E101D
(14,16,29)
#0D0E18
(13,14,24)
#0C0C13
(12,12,19)
#0B0A0E
(11,10,14)
#000000
(0,0,0)

Tints of #151E40

#151E40
(21,30,64)
#2A3251
(42,50,81)
#3F4662
(63,70,98)
#545A73
(84,90,115)
#696E84
(105,110,132)
#7E8295
(126,130,149)
#9396A6
(147,150,166)
#A8AAB7
(168,170,183)
#BDBEC8
(189,190,200)
#D2D2D9
(210,210,217)
#E7E6EA
(231,230,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #151E40 color. Also use rgb(21,30,64) instead hex code.

Text Font Color

.myTextColor { color: #151E40; }

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

This text font color is #151E40.


Background Color

.myBgColor { background-color: #151E40; }

<div style="background-color:#151E40">Inner text</div>

This div background color is #151E40.


Border color

.myBorderColor { border: 1px solid #151E40; }

<div style="border:3px solid #151E40">Div</div>

This div border color is #151E40.


Opacity

.myOpacity80 { color: #151E40; opacity: 0.8; }

<p style="color:#151E40;opacity:0.8;">80%</p>

Text with #151E40 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 #151E40;}

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

This text has shadow with #151E40 color.

.textShadow {text-shadow: 3px 3px 1px #151E40, 3px 3px 1px red;}

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

This text has shadow with #151E40 primary color and red secondary color.


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

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

This text has shadow with #151E40 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151E40 on black background.


Color preview on white background

This text has color #151E40 on white background.



Black color preview on #151E40 background

This text has black color on #151E40 background.


White color preview on #151E40 background

This text has white color on #151E40 background.