COLOR #12082A

HEX: #12082A
RGB: (18,8,42)

Color info

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

RGB color model

#12082A color RGB value is (18,8,42).

  • red value is 18;
  • green value is 8;
  • blue value is 42.
RGB:
(18,8,42)
(7%,3%,16%)

RGB channels and saturation

R 18 of 255 = 7%
G 8 of 255 = 3%
B 42 of 255 = 16%

18
8
42

R + G + B ~ 9%. #12082A is dark color.

Portions of RGB colors in percentages

R + G + B =
18 + 8 + 42 = 68 (100%)
R 18 of 68 ~ 26.47%
G 8 of 68 ~ 11.76%
B 42 of 68 ~ 61.76%

%26.47
%11.76
%61.76

CMYK color model

#12082A color CMYK value is (57,81,0,84).

  • cyan value is 57.14%
  • magenta value is 80.95%
  • yellow value is 0.00%
  • key color value is 83.53%
CMYK:
(57,81,0,84)
C57M81Y0K84 
(57%,81%,0%,84%)
(0.57/0.81/0.00/0.84)	

CMYK percentages

%57.14
%80.95
%0
%83.53

Codes

Color #12082A in popluar color models

12082A
RGB18842
HSL258°68.00%9.80%
HSB/HSV258°80.95%16.47%
CMYK57.14%80.95%0.00%
83.53%

Color #12082A in popluar number systems.

HEX12082A
Decimal18842
Binary100101000101010
Octal221052

Shades and tints

Shades of #12082A

#12082A
(18,8,42)
#110827
(17,8,39)
#100824
(16,8,36)
#0F0821
(15,8,33)
#0E081E
(14,8,30)
#0D081B
(13,8,27)
#0C0818
(12,8,24)
#0B0815
(11,8,21)
#0A0812
(10,8,18)
#09080F
(9,8,15)
#08080C
(8,8,12)
#000000
(0,0,0)

Tints of #12082A

#12082A
(18,8,42)
#271E3D
(39,30,61)
#3C3450
(60,52,80)
#514A63
(81,74,99)
#666076
(102,96,118)
#7B7689
(123,118,137)
#908C9C
(144,140,156)
#A5A2AF
(165,162,175)
#BAB8C2
(186,184,194)
#CFCED5
(207,206,213)
#E4E4E8
(228,228,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #12082A color. Also use rgb(18,8,42) instead hex code.

Text Font Color

.myTextColor { color: #12082A; }

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

This text font color is #12082A.


Background Color

.myBgColor { background-color: #12082A; }

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

This div background color is #12082A.


Border color

.myBorderColor { border: 1px solid #12082A; }

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

This div border color is #12082A.


Opacity

.myOpacity80 { color: #12082A; opacity: 0.8; }

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

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

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

This text has shadow with #12082A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #12082A on black background.


Color preview on white background

This text has color #12082A on white background.



Black color preview on #12082A background

This text has black color on #12082A background.


White color preview on #12082A background

This text has white color on #12082A background.