COLOR #150F40

HEX: #150F40 RGB: (21,15,64)

Color info

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

RGB color model

#150F40 color RGB value is (21,15,64).

RGB: (21,15,64) (8%, 6%, 25%)

RGB channels and saturation

R 21 of 255 = 8%
G 15 of 255 = 6%
B 64 of 255 = 25%

21
15
64

R + G + B ~ 13%. #150F40 is dark color.

Portions of RGB colors in percentages

R + G + B = 21 + 15 + 64 = 100 (100%)
R 21 of 100 ~ 21%
G 15 of 100 ~ 15%
B 64 of 100 ~ 64'%

%21
%15
%64

CMYK color model

#150F40 color CMYK value is (67,77,0,75).

  • cyan value is 67.19%
  • magenta value is 76.56%
  • yellow value is 0.00%
  • key color value is 74.90%

CMYK: (67,77,0,75)
C67M77Y0K75 (67%, 77%, 0%, 75%)
(0.67 / 0.77 / 0.00 / 0.75)

CMYK percentages

%67.19
%76.56
%0
%74.9

Codes

Color #150F40 in popluar color models

15 0F 40
RGB 21 15 64
HSL 247° 62.03% 15.49%
HSB/HSV 247° 76.56% 25.10%
CMYK 67.19% 76.56% 0.00%
74.90%

Color #150F40 in popluar number systems.

HEX 15 0F 40
Decimal 21 15 64
Binary 10101 1111 1000000
Octal 25 17 100

Shades and tints

Shades of #150F40

#150F40
(21,15,64)
#140E3B
(20,14,59)
#130D36
(19,13,54)
#120C31
(18,12,49)
#110B2C
(17,11,44)
#100A27
(16,10,39)
#0F0922
(15,9,34)
#0E081D
(14,8,29)
#0D0718
(13,7,24)
#0C0613
(12,6,19)
#0B050E
(11,5,14)
#000000
(0,0,0)

Tints of #150F40

#150F40
(21,15,64)
#2A2451
(42,36,81)
#3F3962
(63,57,98)
#544E73
(84,78,115)
#696384
(105,99,132)
#7E7895
(126,120,149)
#938DA6
(147,141,166)
#A8A2B7
(168,162,183)
#BDB7C8
(189,183,200)
#D2CCD9
(210,204,217)
#E7E1EA
(231,225,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #150F40; }

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

This text font color is #150F40.

Background Color

.myBgColor { background-color: #150F40; }

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

This div background color is #150F40.

Border color

.myBorderColor { border: 1px solid #150F40; }

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

This div border color is #150F40.

Opacity

.myOpacity80 { color: #150F40; opacity: 0.8; }

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

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

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

This text has shadow with #150F40 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #150F40.

Preview

Color preview on black background

This text has color #150F40 on black background.


Color preview on white background

This text has color #150F40 on white background.


Black color preview on #150F40 background

This text has black color on #150F40 background.


White color preview on #150F40 background

This text has white color on #150F40 background.


Related colors

Complementary color

Complementary color for #hex is #EAF0BF.


I love getcolorcode.com

Triadic colors

1 #40150F and #0F4015 with #150F40 are triadic colors.

2 #400F15 and #0F1540 with #150F40 are triadic colors.