COLOR #12152D

HEX: #12152D
RGB: (18,21,45)

Color info

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

RGB color model

#12152D color RGB value is (18,21,45).

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

RGB channels and saturation

R 18 of 255 = 7%
G 21 of 255 = 8%
B 45 of 255 = 18%

18
21
45

R + G + B ~ 11%. #12152D is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 21 + 45 = 84 (100%)
R 18 of 84 ~ 21.43%
G 21 of 84 ~ 25%
B 45 of 84 ~ 53.57%

%21.43
%25
%53.57

CMYK color model

#12152D color CMYK value is (60,53,0,82).

  • cyan value is 60.00%
  • magenta value is 53.33%
  • yellow value is 0.00%
  • key color value is 82.35%
CMYK:
(60,53,0,82)
C60M53Y0K82 
(60%,53%,0%,82%)
(0.60/0.53/0.00/0.82)	

CMYK percentages

%60
%53.33
%0
%82.35

Codes

Color #12152D in popluar color models

12152D
RGB182145
HSL233°42.86%12.35%
HSB/HSV233°60.00%17.65%
CMYK60.00%53.33%0.00%
82.35%

Color #12152D in popluar number systems.

HEX12152D
Decimal182145
Binary1001010101101101
Octal222555

Shades and tints

Shades of #12152D

#12152D
(18,21,45)
#111429
(17,20,41)
#101325
(16,19,37)
#0F1221
(15,18,33)
#0E111D
(14,17,29)
#0D1019
(13,16,25)
#0C0F15
(12,15,21)
#0B0E11
(11,14,17)
#0A0D0D
(10,13,13)
#090C09
(9,12,9)
#080B05
(8,11,5)
#000000
(0,0,0)

Tints of #12152D

#12152D
(18,21,45)
#272A40
(39,42,64)
#3C3F53
(60,63,83)
#515466
(81,84,102)
#666979
(102,105,121)
#7B7E8C
(123,126,140)
#90939F
(144,147,159)
#A5A8B2
(165,168,178)
#BABDC5
(186,189,197)
#CFD2D8
(207,210,216)
#E4E7EB
(228,231,235)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #12152D; }

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

This text font color is #12152D.


Background Color

.myBgColor { background-color: #12152D; }

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

This div background color is #12152D.


Border color

.myBorderColor { border: 1px solid #12152D; }

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

This div border color is #12152D.


Opacity

.myOpacity80 { color: #12152D; opacity: 0.8; }

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

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

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

This text has shadow with #12152D color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12152D on black background.


Color preview on white background

This text has color #12152D on white background.



Black color preview on #12152D background

This text has black color on #12152D background.


White color preview on #12152D background

This text has white color on #12152D background.