COLOR #151740

HEX: #151740
RGB: (21,23,64)

Color info

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

RGB color model

#151740 color RGB value is (21,23,64).

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

RGB channels and saturation

R 21 of 255 = 8%
G 23 of 255 = 9%
B 64 of 255 = 25%

21
23
64

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

Portions of RGB colors in percentages

R + G + B =
21 + 23 + 64 = 108 (100%)
R 21 of 108 ~ 19.44%
G 23 of 108 ~ 21.3%
B 64 of 108 ~ 59.26%

%19.44
%21.3
%59.26

CMYK color model

#151740 color CMYK value is (67,64,0,75).

  • cyan value is 67.19%
  • magenta value is 64.06%
  • yellow value is 0.00%
  • key color value is 74.90%
CMYK:
(67,64,0,75)
C67M64Y0K75 
(67%,64%,0%,75%)
(0.67/0.64/0.00/0.75)	

CMYK percentages

%67.19
%64.06
%0
%74.9

Codes

Color #151740 in popluar color models

151740
RGB212364
HSL237°50.59%16.67%
HSB/HSV237°67.19%25.10%
CMYK67.19%64.06%0.00%
74.90%

Color #151740 in popluar number systems.

HEX151740
Decimal212364
Binary10101101111000000
Octal2527100

Shades and tints

Shades of #151740

#151740
(21,23,64)
#14153B
(20,21,59)
#131336
(19,19,54)
#121131
(18,17,49)
#110F2C
(17,15,44)
#100D27
(16,13,39)
#0F0B22
(15,11,34)
#0E091D
(14,9,29)
#0D0718
(13,7,24)
#0C0513
(12,5,19)
#0B030E
(11,3,14)
#000000
(0,0,0)

Tints of #151740

#151740
(21,23,64)
#2A2C51
(42,44,81)
#3F4162
(63,65,98)
#545673
(84,86,115)
#696B84
(105,107,132)
#7E8095
(126,128,149)
#9395A6
(147,149,166)
#A8AAB7
(168,170,183)
#BDBFC8
(189,191,200)
#D2D4D9
(210,212,217)
#E7E9EA
(231,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #151740; }

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

This text font color is #151740.


Background Color

.myBgColor { background-color: #151740; }

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

This div background color is #151740.


Border color

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

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

This div border color is #151740.


Opacity

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

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

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

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

This text has shadow with #151740 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #151740 on black background.


Color preview on white background

This text has color #151740 on white background.



Black color preview on #151740 background

This text has black color on #151740 background.


White color preview on #151740 background

This text has white color on #151740 background.