COLOR #12052A

HEX: #12052A RGB: (18,5,42)

Color info

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

RGB color model

#12052A color RGB value is (18,5,42).

RGB: (18,5,42) (7%, 2%, 16%)

RGB channels and saturation

R 18 of 255 = 7%
G 5 of 255 = 2%
B 42 of 255 = 16%

18
5
42

R + G + B ~ 8%. #12052A is dark color.

Portions of RGB colors in percentages

R + G + B = 18 + 5 + 42 = 65 (100%)
R 18 of 65 ~ 27.69%
G 5 of 65 ~ 7.69%
B 42 of 65 ~ 64.62'%

%27.69
%64.62

CMYK color model

#12052A color CMYK value is (57,88,0,84).

  • cyan value is 57.14%
  • magenta value is 88.10%
  • yellow value is 0.00%
  • key color value is 83.53%

CMYK: (57,88,0,84)
C57M88Y0K84 (57%, 88%, 0%, 84%)
(0.57 / 0.88 / 0.00 / 0.84)

CMYK percentages

%57.14
%88.1
%0
%83.53

Codes

Color #12052A in popluar color models

12 05 2A
RGB 18 5 42
HSL 261° 78.72% 9.22%
HSB/HSV 261° 88.10% 16.47%
CMYK 57.14% 88.10% 0.00%
83.53%

Color #12052A in popluar number systems.

HEX 12 05 2A
Decimal 18 5 42
Binary 10010 101 101010
Octal 22 5 52

Shades and tints

Shades of #12052A

#12052A
(18,5,42)
#110527
(17,5,39)
#100524
(16,5,36)
#0F0521
(15,5,33)
#0E051E
(14,5,30)
#0D051B
(13,5,27)
#0C0518
(12,5,24)
#0B0515
(11,5,21)
#0A0512
(10,5,18)
#09050F
(9,5,15)
#08050C
(8,5,12)
#000000
(0,0,0)

Tints of #12052A

#12052A
(18,5,42)
#271B3D
(39,27,61)
#3C3150
(60,49,80)
#514763
(81,71,99)
#665D76
(102,93,118)
#7B7389
(123,115,137)
#90899C
(144,137,156)
#A59FAF
(165,159,175)
#BAB5C2
(186,181,194)
#CFCBD5
(207,203,213)
#E4E1E8
(228,225,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #12052A; }

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

This text font color is #12052A.

Background Color

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

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

This div background color is #12052A.

Border color

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

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

This div border color is #12052A.

Opacity

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

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

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

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

This text has shadow with #12052A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #12052A.

Preview

Color preview on black background

This text has color #12052A on black background.


Color preview on white background

This text has color #12052A on white background.


Black color preview on #12052A background

This text has black color on #12052A background.


White color preview on #12052A background

This text has white color on #12052A background.


Related colors

Complementary color

Complementary color for #hex is #EDFAD5.


I love getcolorcode.com

Triadic colors

1 #2A1205 and #052A12 with #12052A are triadic colors.

2 #2A0512 and #05122A with #12052A are triadic colors.