COLOR #151251

HEX: #151251
RGB: (21,18,81)

Color info

#151251 contains mainly blue color. Web safe color of #151251 is #000066 (or #006).

RGB color model

#151251 color RGB value is (21,18,81).

  • red value is 21;
  • green value is 18;
  • blue value is 81.
RGB:
(21,18,81)
(8%,7%,32%)

RGB channels and saturation

R 21 of 255 = 8%
G 18 of 255 = 7%
B 81 of 255 = 32%

21
18
81

R + G + B ~ 16%. #151251 is dark color.

Portions of RGB colors in percentages

R + G + B =
21 + 18 + 81 = 120 (100%)
R 21 of 120 ~ 17.5%
G 18 of 120 ~ 15%
B 81 of 120 ~ 67.5%

%17.5
%15
%67.5

CMYK color model

#151251 color CMYK value is (74,78,0,68).

  • cyan value is 74.07%
  • magenta value is 77.78%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(74,78,0,68)
C74M78Y0K68 
(74%,78%,0%,68%)
(0.74/0.78/0.00/0.68)	

CMYK percentages

%74.07
%77.78
%0
%68.24

Codes

Color #151251 in popluar color models

151251
RGB211881
HSL243°63.64%19.41%
HSB/HSV243°77.78%31.76%
CMYK74.07%77.78%0.00%
68.24%

Color #151251 in popluar number systems.

HEX151251
Decimal211881
Binary10101100101010001
Octal2522121

Shades and tints

Shades of #151251

#151251
(21,18,81)
#14114A
(20,17,74)
#131043
(19,16,67)
#120F3C
(18,15,60)
#110E35
(17,14,53)
#100D2E
(16,13,46)
#0F0C27
(15,12,39)
#0E0B20
(14,11,32)
#0D0A19
(13,10,25)
#0C0912
(12,9,18)
#0B080B
(11,8,11)
#000000
(0,0,0)

Tints of #151251

#151251
(21,18,81)
#2A2760
(42,39,96)
#3F3C6F
(63,60,111)
#54517E
(84,81,126)
#69668D
(105,102,141)
#7E7B9C
(126,123,156)
#9390AB
(147,144,171)
#A8A5BA
(168,165,186)
#BDBAC9
(189,186,201)
#D2CFD8
(210,207,216)
#E7E4E7
(231,228,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151251; }

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

This text font color is #151251.


Background Color

.myBgColor { background-color: #151251; }

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

This div background color is #151251.


Border color

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

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

This div border color is #151251.


Opacity

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

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

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

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

This text has shadow with #151251 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151251 on black background.


Color preview on white background

This text has color #151251 on white background.



Black color preview on #151251 background

This text has black color on #151251 background.


White color preview on #151251 background

This text has white color on #151251 background.