COLOR #151531

HEX: #151531
RGB: (21,21,49)

Color info

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

RGB color model

#151531 color RGB value is (21,21,49).

  • red value is 21;
  • green value is 21;
  • blue value is 49.
RGB:
(21,21,49)
(8%,8%,19%)

RGB channels and saturation

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

21
21
49

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

Portions of RGB colors in percentages

R + G + B =
21 + 21 + 49 = 91 (100%)
R 21 of 91 ~ 23.08%
G 21 of 91 ~ 23.08%
B 49 of 91 ~ 53.85%

%23.08
%23.08
%53.85

CMYK color model

#151531 color CMYK value is (57,57,0,81).

  • cyan value is 57.14%
  • magenta value is 57.14%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(57,57,0,81)
C57M57Y0K81 
(57%,57%,0%,81%)
(0.57/0.57/0.00/0.81)	

CMYK percentages

%57.14
%57.14
%0
%80.78

Codes

Color #151531 in popluar color models

151531
RGB212149
HSL240°40.00%13.73%
HSB/HSV240°57.14%19.22%
CMYK57.14%57.14%0.00%
80.78%

Color #151531 in popluar number systems.

HEX151531
Decimal212149
Binary1010110101110001
Octal252561

Shades and tints

Shades of #151531

#151531
(21,21,49)
#14142D
(20,20,45)
#131329
(19,19,41)
#121225
(18,18,37)
#111121
(17,17,33)
#10101D
(16,16,29)
#0F0F19
(15,15,25)
#0E0E15
(14,14,21)
#0D0D11
(13,13,17)
#0C0C0D
(12,12,13)
#0B0B09
(11,11,9)
#000000
(0,0,0)

Tints of #151531

#151531
(21,21,49)
#2A2A43
(42,42,67)
#3F3F55
(63,63,85)
#545467
(84,84,103)
#696979
(105,105,121)
#7E7E8B
(126,126,139)
#93939D
(147,147,157)
#A8A8AF
(168,168,175)
#BDBDC1
(189,189,193)
#D2D2D3
(210,210,211)
#E7E7E5
(231,231,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151531; }

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

This text font color is #151531.


Background Color

.myBgColor { background-color: #151531; }

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

This div background color is #151531.


Border color

.myBorderColor { border: 1px solid #151531; }

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

This div border color is #151531.


Opacity

.myOpacity80 { color: #151531; opacity: 0.8; }

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

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

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

This text has shadow with #151531 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151531 on black background.


Color preview on white background

This text has color #151531 on white background.



Black color preview on #151531 background

This text has black color on #151531 background.


White color preview on #151531 background

This text has white color on #151531 background.