COLOR #151A31

HEX: #151A31 RGB: (21,26,49)

Color info

#151A31 contains red, green and blue colors in about the same proportion. Web safe color of #151A31 is #000033 (or #003).

RGB color model

#151A31 color RGB value is (21,26,49).

RGB: (21,26,49) (8%, 10%, 19%)

RGB channels and saturation

R 21 of 255 = 8%
G 26 of 255 = 10%
B 49 of 255 = 19%

21
26
49

R + G + B ~ 12%. #151A31 is dark color.

Portions of RGB colors in percentages

R + G + B = 21 + 26 + 49 = 96 (100%)
R 21 of 96 ~ 21.88%
G 26 of 96 ~ 27.08%
B 49 of 96 ~ 51.04'%

%21.88
%27.08
%51.04

CMYK color model

#151A31 color CMYK value is (57,47,0,81).

  • cyan value is 57.14%
  • magenta value is 46.94%
  • yellow value is 0.00%
  • key color value is 80.78%

CMYK: (57,47,0,81)
C57M47Y0K81 (57%, 47%, 0%, 81%)
(0.57 / 0.47 / 0.00 / 0.81)

CMYK percentages

%57.14
%46.94
%0
%80.78

Codes

Color #151A31 in popluar color models

15 1A 31
RGB 21 26 49
HSL 229° 40.00% 13.73%
HSB/HSV 229° 57.14% 19.22%
CMYK 57.14% 46.94% 0.00%
80.78%

Color #151A31 in popluar number systems.

HEX 15 1A 31
Decimal 21 26 49
Binary 10101 11010 110001
Octal 25 32 61

Shades and tints

Shades of #151A31

#151A31
(21,26,49)
#14182D
(20,24,45)
#131629
(19,22,41)
#121425
(18,20,37)
#111221
(17,18,33)
#10101D
(16,16,29)
#0F0E19
(15,14,25)
#0E0C15
(14,12,21)
#0D0A11
(13,10,17)
#0C080D
(12,8,13)
#0B0609
(11,6,9)
#000000
(0,0,0)

Tints of #151A31

#151A31
(21,26,49)
#2A2E43
(42,46,67)
#3F4255
(63,66,85)
#545667
(84,86,103)
#696A79
(105,106,121)
#7E7E8B
(126,126,139)
#93929D
(147,146,157)
#A8A6AF
(168,166,175)
#BDBAC1
(189,186,193)
#D2CED3
(210,206,211)
#E7E2E5
(231,226,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #151A31 color. Also use rgb(21,26,49) instead hex code.

Text Font Color

.myTextColor { color: #151A31; }

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

This text font color is #151A31.

Background Color

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

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

This div background color is #151A31.

Border color

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

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

This div border color is #151A31.

Opacity

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

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

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

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

This text has shadow with #151A31 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #151A31.

Preview

Color preview on black background

This text has color #151A31 on black background.


Color preview on white background

This text has color #151A31 on white background.


Black color preview on #151A31 background

This text has black color on #151A31 background.


White color preview on #151A31 background

This text has white color on #151A31 background.


Related colors

Complementary color

Complementary color for #hex is #EAE5CE.


I love getcolorcode.com

Triadic colors

1 #31151A and #1A3115 with #151A31 are triadic colors.

2 #311A15 and #1A1531 with #151A31 are triadic colors.