COLOR #151D38

HEX: #151D38
RGB: (21,29,56)

Color info

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

RGB color model

#151D38 color RGB value is (21,29,56).

  • red value is 21;
  • green value is 29;
  • blue value is 56.
RGB:
(21,29,56)
(8%,11%,22%)

RGB channels and saturation

R 21 of 255 = 8%
G 29 of 255 = 11%
B 56 of 255 = 22%

21
29
56

R + G + B ~ 14%. #151D38 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 29 + 56 = 106 (100%)
R 21 of 106 ~ 19.81%
G 29 of 106 ~ 27.36%
B 56 of 106 ~ 52.83%

%19.81
%27.36
%52.83

CMYK color model

#151D38 color CMYK value is (63,48,0,78).

  • cyan value is 62.50%
  • magenta value is 48.21%
  • yellow value is 0.00%
  • key color value is 78.04%
CMYK:
(63,48,0,78)
C63M48Y0K78 
(63%,48%,0%,78%)
(0.63/0.48/0.00/0.78)	

CMYK percentages

%62.5
%48.21
%0
%78.04

Codes

Color #151D38 in popluar color models

151D38
RGB212956
HSL226°45.45%15.10%
HSB/HSV226°62.50%21.96%
CMYK62.50%48.21%0.00%
78.04%

Color #151D38 in popluar number systems.

HEX151D38
Decimal212956
Binary1010111101111000
Octal253570

Shades and tints

Shades of #151D38

#151D38
(21,29,56)
#141B33
(20,27,51)
#13192E
(19,25,46)
#121729
(18,23,41)
#111524
(17,21,36)
#10131F
(16,19,31)
#0F111A
(15,17,26)
#0E0F15
(14,15,21)
#0D0D10
(13,13,16)
#0C0B0B
(12,11,11)
#0B0906
(11,9,6)
#000000
(0,0,0)

Tints of #151D38

#151D38
(21,29,56)
#2A314A
(42,49,74)
#3F455C
(63,69,92)
#54596E
(84,89,110)
#696D80
(105,109,128)
#7E8192
(126,129,146)
#9395A4
(147,149,164)
#A8A9B6
(168,169,182)
#BDBDC8
(189,189,200)
#D2D1DA
(210,209,218)
#E7E5EC
(231,229,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #151D38 color. Also use rgb(21,29,56) instead hex code.

Text Font Color

.myTextColor { color: #151D38; }

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

This text font color is #151D38.


Background Color

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

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

This div background color is #151D38.


Border color

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

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

This div border color is #151D38.


Opacity

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

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

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

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

This text has shadow with #151D38 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151D38 on black background.


Color preview on white background

This text has color #151D38 on white background.



Black color preview on #151D38 background

This text has black color on #151D38 background.


White color preview on #151D38 background

This text has white color on #151D38 background.