Html Css Color HEX #2A1F98 Ultramarine

📋 copy color: '#2A1F98'

red 42 ◦ green 31 ◦ blue 152

#2A1F98
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Ultramarine #2A1F98

Tints of Ultramarine #2A1F98

RGB

 RED value IS 42 (16.8% from 255) = 18.67%

 GREEN value IS 31 (12.5% from 255) = 13.78%

 BLUE value IS 152 (59.77% from 255) = 67.56%

R = 18.67%
G = 13.78%
B = 67.56%

CMYK

 C value IS 0.72

 M value IS 0.80

 Y value IS 0

 K value IS 0.40

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#2A1F98 (or 0x2A1F98) is known color: Ultramarine. HEX triplet: 2A, 1F and 98. RGB value is (42,31,152). Sum of RGB (Red+Green+Blue) = 42+31+152=225 (29% of max value = 765). Red value is 42 (16.80% from 255 or 18.67% from 225); Green value is 31 (12.5% from 255 or 13.78% from 225); Blue value is 152 (59.77% from 255 or 67.56% from 225); Max value from RGB is 152 - color contains mainly: blue. Hex color #2A1F98 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F98 is #D5E067. Grayscale: #2F2F2F. Windows color (decimal): -14016616 or 9969450. OLE color: 9969450.

HSL color Cylindrical-coordinate representation of color #2A1F98: hue angle of 245.45º degrees, saturation: 0.66, lightness: 0.36%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #2A1F98 is Cyan = 0.72, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.40.

Color convert

RGB 42 31 152 -
CMYK 0.72 0.80 0 0.40
HSL 245.45º 0.66% 0.36% -
HSV(B) 245.45º 0.8% 0.6% -
XYZ 7.11 3.74 30.05 -
YUV 48.08 186.64 123.66 -
System Red Green Blue C M Y K H S L
Decimal 42 31 152 0.72 0.80 0 0.40 245.45 0.66 0.36
Hex 2A 1F 98 48 50 0 28 F5 42 24
Octal 52 37 230 110 120 0 50 365 102 44
Binary 101010 11111 10011000 1001000 1010000 0 101000 11110101 1000010 100100

Color Harmonies of #2A1F98

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #2A1F98

Black with #2A1F98

Text Example


Text Example

White with #2A1F98

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #2A1F98; }

 p { color: rgb(42,31,152); }

 H1.HeaderClassName
 {
   color: #2A1F98;
 }
 .AnyTagClassName
 {
   color: #2A1F98;
 }
</style>

background-color css

<style>
 a { background-color: #2A1F98; }

 a { background-color: rgb(42,31,152); }

 div.DivClassName
 {
   background-color: #2A1F98;
 }
 .BgClassName
 {
   background-color: #2A1F98;
 }
</style>

border-color css

<style>
 span { border-color: #2A1F98; }

 span { border-color: rgb(42,31,152); }

 td.TdClassName
 {
   border-color: #2A1F98;
 }
 .TagClassName
 {
   border-color: #2A1F98;
 }
</style>