COLOR #0F152A

HEX: #0F152A
RGB: (15,21,42)

Color info

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

RGB color model

#0F152A color RGB value is (15,21,42).

  • red value is 15;
  • green value is 21;
  • blue value is 42.
RGB:
(15,21,42)
(6%,8%,16%)

RGB channels and saturation

R 15 of 255 = 6%
G 21 of 255 = 8%
B 42 of 255 = 16%

15
21
42

R + G + B ~ 10%. #0F152A is dark color.

Portions of RGB colors in percentages

R + G + B =
15 + 21 + 42 = 78 (100%)
R 15 of 78 ~ 19.23%
G 21 of 78 ~ 26.92%
B 42 of 78 ~ 53.85%

%19.23
%26.92
%53.85

CMYK color model

#0F152A color CMYK value is (64,50,0,84).

  • cyan value is 64.29%
  • magenta value is 50.00%
  • yellow value is 0.00%
  • key color value is 83.53%
CMYK:
(64,50,0,84)
C64M50Y0K84 
(64%,50%,0%,84%)
(0.64/0.50/0.00/0.84)	

CMYK percentages

%64.29
%50
%0
%83.53

Codes

Color #0F152A in popluar color models

0F152A
RGB152142
HSL227°47.37%11.18%
HSB/HSV227°64.29%16.47%
CMYK64.29%50.00%0.00%
83.53%

Color #0F152A in popluar number systems.

HEX0F152A
Decimal152142
Binary111110101101010
Octal172552

Shades and tints

Shades of #0F152A

#0F152A
(15,21,42)
#0E1427
(14,20,39)
#0D1324
(13,19,36)
#0C1221
(12,18,33)
#0B111E
(11,17,30)
#0A101B
(10,16,27)
#090F18
(9,15,24)
#080E15
(8,14,21)
#070D12
(7,13,18)
#060C0F
(6,12,15)
#050B0C
(5,11,12)
#000000
(0,0,0)

Tints of #0F152A

#0F152A
(15,21,42)
#242A3D
(36,42,61)
#393F50
(57,63,80)
#4E5463
(78,84,99)
#636976
(99,105,118)
#787E89
(120,126,137)
#8D939C
(141,147,156)
#A2A8AF
(162,168,175)
#B7BDC2
(183,189,194)
#CCD2D5
(204,210,213)
#E1E7E8
(225,231,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #0F152A color. Also use rgb(15,21,42) instead hex code.

Text Font Color

.myTextColor { color: #0F152A; }

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

This text font color is #0F152A.


Background Color

.myBgColor { background-color: #0F152A; }

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

This div background color is #0F152A.


Border color

.myBorderColor { border: 1px solid #0F152A; }

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

This div border color is #0F152A.


Opacity

.myOpacity80 { color: #0F152A; opacity: 0.8; }

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

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

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

This text has shadow with #0F152A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #0F152A on black background.


Color preview on white background

This text has color #0F152A on white background.



Black color preview on #0F152A background

This text has black color on #0F152A background.


White color preview on #0F152A background

This text has white color on #0F152A background.