Difference between revisions of "HTML 256 to ANSI 16"

From Fate's Harvest
Jump to: navigation, search
Line 14: Line 14:
 
::''@set me=!color256''
 
::''@set me=!color256''
  
<center>
+
 
{|style="border: 1px solid #000000; " width="300px"
+
{|style="border: 1px solid #000000; font-family: Consolas, monaco, monospace;" width="600px"
 
|-
 
|-
 +
!HTML 256
 +
!ANSI 16
 
!HTML 256
 
!HTML 256
 
!ANSI 16
 
!ANSI 16
Line 22: Line 24:
 
|style="background: #000000; color: #ffffff;"|#000000
 
|style="background: #000000; color: #ffffff;"|#000000
 
|style="background: #000000; color: #ffffff;"|%xx
 
|style="background: #000000; color: #ffffff;"|%xx
 +
|style="background: #808080; color: #000000;"|#808080
 +
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
 
|style="background: #800000; color: #ffffff;"|#800000
 
|style="background: #800000; color: #ffffff;"|#800000
 
|style="background: #800000; color: #ffffff;"|%xr
 
|style="background: #800000; color: #ffffff;"|%xr
 +
|style="background: #ff0000; color: #000000;"|#ff0000
 +
|style="background: #ff0000; color: #000000;"|%xh%xr
 
|-
 
|-
 
|style="background: #008000; color: #ffffff;"|#008000
 
|style="background: #008000; color: #ffffff;"|#008000
 
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #008000; color: #ffffff;"|%xg
 +
|style="background: #00ff00; color: #000000;"|#00ff00
 +
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|-
 
|-
 
|style="background: #808000; color: #ffffff;"|#808000
 
|style="background: #808000; color: #ffffff;"|#808000
 
|style="background: #808000; color: #ffffff;"|%xy
 
|style="background: #808000; color: #ffffff;"|%xy
 +
|style="background: #ffff00; color: #000000;"|#ffff00
 +
|style="background: #ffff00; color: #000000;"|%xh%xy
 
|-
 
|-
 
|style="background: #000080; color: #ffffff;"|#000080
 
|style="background: #000080; color: #ffffff;"|#000080
 
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #000080; color: #ffffff;"|%xb
 +
|style="background: #0000ff; color: #c0c0c0;"|#0000ff
 +
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|-
 
|style="background: #800080; color: #ffffff;"|#800080
 
|style="background: #800080; color: #ffffff;"|#800080
 
|style="background: #800080; color: #ffffff;"|%xm
 
|style="background: #800080; color: #ffffff;"|%xm
 +
|style="background: #ff00ff; color: #000000;"|#ff00ff
 +
|style="background: #ff00ff; color: #000000;"|%xh%xm
 
|-
 
|-
 
|style="background: #008080; color: #000000;"|#008080
 
|style="background: #008080; color: #000000;"|#008080
 
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #008080; color: #000000;"|%xc
 +
|style="background: #00ffff; color: #000000;"|#00ffff
 +
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|-
 
|-
 
|style="background: #c0c0c0; color: #000000;"|#c0c0c0
 
|style="background: #c0c0c0; color: #000000;"|#c0c0c0
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|style="background: #c0c0c0; color: #000000;"|%xw
|-
 
|style="background: #808080; color: #000000;"|#808080
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #ff0000; color: #000000;"|#ff0000
 
|style="background: #ff0000; color: #000000;"|%xh%xr
 
|-
 
|style="background: #00ff00; color: #000000;"|#00ff00
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|-
 
|style="background: #ffff00; color: #000000;"|#ffff00
 
|style="background: #ffff00; color: #000000;"|%xh%xy
 
|-
 
|style="background: #0000ff; color: #c0c0c0;"|#0000ff
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|style="background: #ff00ff; color: #000000;"|#ff00ff
 
|style="background: #ff00ff; color: #000000;"|%xh%xm
 
|-
 
|style="background: #00ffff; color: #000000;"|#00ffff
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|-
 
 
|style="background: #ffffff; color: #000000;"|#ffffff
 
|style="background: #ffffff; color: #000000;"|#ffffff
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 +
|}
 +
 +
 +
{|style="border: 1px solid #000000; font-family: Consolas, monaco, monospace;" width="300px"
 
|-
 
|-
|style="background: #000000; color: #ffffff;"|#000000
+
!HTML 256
 +
!ANSI 16
 +
|-
 +
|style="background: #080808; color: #ffffff;"|#080808
 
|style="background: #000000; color: #ffffff;"|%xx
 
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|-
|style="background: #00005f; color: #ffffff;"|#00005f
+
|style="background: #121212; color: #ffffff;"|#121212
|style="background: #000080; color: #ffffff;"|%xb
+
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|-
|style="background: #000087; color: #ffffff;"|#000087
+
|style="background: #1c1c1c; color: #ffffff;"|#1c1c1c
|style="background: #000080; color: #ffffff;"|%xb
+
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|-
|style="background: #0000af; color: #ffffff;"|#0000af
+
|style="background: #262626; color: #ffffff;"|#262626
|style="background: #000080; color: #ffffff;"|%xb
+
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|-
|style="background: #0000d7; color: #ffffff;"|#0000d7
+
|style="background: #303030; color: #000000;"|#303030
|style="background: #000080; color: #ffffff;"|%xb
+
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #0000ff; color: #ffffff;"|#0000ff
+
|style="background: #3a3a3a; color: #000000;"|#3a3a3a
|style="background: #000080; color: #ffffff;"|%xb
+
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #005f00; color: #000000;"|#005f00
+
|style="background: #444444; color: #000000;"|#444444
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #005f5f; color: #000000;"|#005f5f
+
|style="background: #4e4e4e; color: #000000;"|#4e4e4e
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #005f87; color: #000000;"|#005f87
+
|style="background: #585858; color: #000000;"|#585858
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #005faf; color: #c0c0c0;"|#005faf
+
|style="background: #606060; color: #000000;"|#606060
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
+
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #005fd7; color: #c0c0c0;"|#005fd7
+
|style="background: #666666; color: #000000;"|#666666
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
+
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #005fff; color: #c0c0c0;"|#005fff
+
|style="background: #767676; color: #000000;"|#767676
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
+
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #008700; color: #ffffff;"|#008700
+
|style="background: #808080; color: #000000;"|#808080
|style="background: #008000; color: #ffffff;"|%xg
+
|-
+
|style="background: #00875f; color: #000000;"|#00875f
+
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
|style="background: #008787; color: #000000;"|#008787
+
|style="background: #8a8a8a; color: #000000;"|#8a8a8a
|style="background: #008080; color: #000000;"|%xc
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #0087af; color: #000000;"|#0087af
+
|style="background: #949494; color: #000000;"|#949494
|style="background: #008080; color: #000000;"|%xc
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #0087d7; color: #000000;"|#0087d7
+
|style="background: #9e9e9e; color: #000000;"|#9e9e9e
|style="background: #008080; color: #000000;"|%xc
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #0087ff; color: #c0c0c0;"|#0087ff
+
|style="background: #a8a8a8; color: #000000;"|#a8a8a8
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #00af00; color: #ffffff;"|#00af00
+
|style="background: #b2b2b2; color: #000000;"|#b2b2b2
|style="background: #008000; color: #ffffff;"|%xg
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #00af5f; color: #ffffff;"|#00af5f
+
|style="background: #bcbcbc; color: #000000;"|#bcbcbc
|style="background: #008000; color: #ffffff;"|%xg
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #00af87; color: #000000;"|#00af87
+
|style="background: #c6c6c6; color: #000000;"|#c6c6c6
|style="background: #008080; color: #000000;"|%xc
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #00afaf; color: #000000;"|#00afaf
+
|style="background: #d0d0d0; color: #000000;"|#d0d0d0
|style="background: #008080; color: #000000;"|%xc
+
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
|style="background: #00afd7; color: #000000;"|#00afd7
+
|style="background: #dadada; color: #000000;"|#dadada
|style="background: #008080; color: #000000;"|%xc
+
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|-
 
|-
|style="background: #00afff; color: #000000;"|#00afff
+
|style="background: #e4e4e4; color: #000000;"|#e4e4e4
|style="background: #008080; color: #000000;"|%xc
+
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|-
 
|-
|style="background: #00d700; color: #ffffff;"|#00d700
+
|style="background: #eeeeee; color: #000000;"|#eeeeee
|style="background: #008000; color: #ffffff;"|%xg
+
|style="background: #ffffff; color: #000000;"|%xh%xw
 +
|}
 +
 
 +
 
 +
 
 +
{|style="border: 1px solid #000000; font-family: Consolas, monaco, monospace;" width="600px"
 
|-
 
|-
|style="background: #00d75f; color: #000000;"|#00d75f
+
!HTML 256
|style="background: #008080; color: #000000;"|%xc
+
!ANSI 16
|-
+
!HTML 256
|style="background: #00d787; color: #000000;"|#00d787
+
!ANSI 16
|style="background: #008080; color: #000000;"|%xc
+
|-
+
|style="background: #00d7af; color: #000000;"|#00d7af
+
|style="background: #008080; color: #000000;"|%xc
+
|-
+
|style="background: #00d7d7; color: #000000;"|#00d7d7
+
|style="background: #008080; color: #000000;"|%xc
+
|-
+
|style="background: #00d7ff; color: #000000;"|#00d7ff
+
|style="background: #008080; color: #000000;"|%xc
+
|-
+
|style="background: #00ff00; color: #000000;"|#00ff00
+
|style="background: #00ff00; color: #000000;"|%xh%xg
+
|-
+
|style="background: #00ff5f; color: #000000;"|#00ff5f
+
|style="background: #00ff00; color: #000000;"|%xh%xg
+
|-
+
|style="background: #00ff87; color: #000000;"|#00ff87
+
|style="background: #00ff00; color: #000000;"|%xh%xg
+
|-
+
|style="background: #00ffaf; color: #000000;"|#00ffaf
+
|style="background: #00ffff; color: #000000;"|%xh%xc
+
|-
+
|style="background: #00ffd7; color: #000000;"|#00ffd7
+
|style="background: #00ffff; color: #000000;"|%xh%xc
+
|-
+
|style="background: #00ffff; color: #000000;"|#00ffff
+
|style="background: #00ffff; color: #000000;"|%xh%xc
+
 
|-
 
|-
 +
|style="background: #000000; color: #ffffff;"|#000000
 +
|style="background: #000000; color: #ffffff;"|%xx
 
|style="background: #5f0000; color: #ffffff;"|#5f0000
 
|style="background: #5f0000; color: #ffffff;"|#5f0000
 
|style="background: #800000; color: #ffffff;"|%xr
 
|style="background: #800000; color: #ffffff;"|%xr
 
|-
 
|-
 +
|style="background: #00005f; color: #ffffff;"|#00005f
 +
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #5f005f; color: #ffffff;"|#5f005f
 
|style="background: #5f005f; color: #ffffff;"|#5f005f
 
|style="background: #800080; color: #ffffff;"|%xm
 
|style="background: #800080; color: #ffffff;"|%xm
 
|-
 
|-
 +
|style="background: #000087; color: #ffffff;"|#000087
 +
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #5f0087; color: #ffffff;"|#5f0087
 
|style="background: #5f0087; color: #ffffff;"|#5f0087
 
|style="background: #800080; color: #ffffff;"|%xm
 
|style="background: #800080; color: #ffffff;"|%xm
 
|-
 
|-
 +
|style="background: #0000af; color: #ffffff;"|#0000af
 +
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #5f00af; color: #ffffff;"|#5f00af
 
|style="background: #5f00af; color: #ffffff;"|#5f00af
 
|style="background: #800080; color: #ffffff;"|%xm
 
|style="background: #800080; color: #ffffff;"|%xm
 
|-
 
|-
 +
|style="background: #0000d7; color: #ffffff;"|#0000d7
 +
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #5f00af; color: #ffffff;"|#5f00d7
 
|style="background: #5f00af; color: #ffffff;"|#5f00d7
 
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #000080; color: #ffffff;"|%xb
 
|-
 
|-
 +
|style="background: #0000ff; color: #ffffff;"|#0000ff
 +
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #5f00ff; color: #ffffff;"|#5f00ff
 
|style="background: #5f00ff; color: #ffffff;"|#5f00ff
 
|style="background: #000080; color: #ffffff;"|%xb
 
|style="background: #000080; color: #ffffff;"|%xb
 
|-
 
|-
 +
|style="background: #005f00; color: #000000;"|#005f00
 +
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #5f5f00; color: #000000;"|#5f5f00
 
|style="background: #5f5f00; color: #000000;"|#5f5f00
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
 +
|style="background: #005f5f; color: #000000;"|#005f5f
 +
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #5f5f5f; color: #000000;"|#5f5f5f
 
|style="background: #5f5f5f; color: #000000;"|#5f5f5f
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
 +
|style="background: #005f87; color: #000000;"|#005f87
 +
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #5f5f87; color: #000000;"|#5f5f87
 
|style="background: #5f5f87; color: #000000;"|#5f5f87
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
 +
|style="background: #005faf; color: #c0c0c0;"|#005faf
 +
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #5f5faf; color: #c0c0c0;"|#5f5faf
 
|style="background: #5f5faf; color: #c0c0c0;"|#5f5faf
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|-
 +
|style="background: #005fd7; color: #c0c0c0;"|#005fd7
 +
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #5f5fd7; color: #c0c0c0;"|#5f5fd7
 
|style="background: #5f5fd7; color: #c0c0c0;"|#5f5fd7
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|-
 +
|style="background: #005fff; color: #c0c0c0;"|#005fff
 +
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #5f5fff; color: #c0c0c0;"|#5f5fff
 
|style="background: #5f5fff; color: #c0c0c0;"|#5f5fff
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|-
 +
|style="background: #008700; color: #ffffff;"|#008700
 +
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #5f8700; color: #ffffff;"|#5f8700
 
|style="background: #5f8700; color: #ffffff;"|#5f8700
 
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #008000; color: #ffffff;"|%xg
 
|-
 
|-
 +
|style="background: #00875f; color: #000000;"|#00875f
 +
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #5f875f; color: #000000;"|#5f875f
 
|style="background: #5f875f; color: #000000;"|#5f875f
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
 +
|style="background: #008787; color: #000000;"|#008787
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5f8787; color: #000000;"|#5f8787
 
|style="background: #5f8787; color: #000000;"|#5f8787
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|-
 +
|style="background: #0087af; color: #000000;"|#0087af
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5f87af; color: #c0c0c0;"|#5f87af
 
|style="background: #5f87af; color: #c0c0c0;"|#5f87af
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|-
 +
|style="background: #0087d7; color: #000000;"|#0087d7
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5f87d7; color: #c0c0c0;"|#5f87d7
 
|style="background: #5f87d7; color: #c0c0c0;"|#5f87d7
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|-
 +
|style="background: #0087ff; color: #c0c0c0;"|#0087ff
 +
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #5f87ff; color: #c0c0c0;"|#5f87ff
 
|style="background: #5f87ff; color: #c0c0c0;"|#5f87ff
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|style="background: #0000ff; color: #c0c0c0;"|%xh%xb
 
|-
 
|-
 +
|style="background: #00af00; color: #ffffff;"|#00af00
 +
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #5faf00; color: #ffffff;"|#5faf00
 
|style="background: #5faf00; color: #ffffff;"|#5faf00
 
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #008000; color: #ffffff;"|%xg
 
|-
 
|-
 +
|style="background: #00af5f; color: #ffffff;"|#00af5f
 +
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #5faf5f; color: #ffffff;"|#5faf5f
 
|style="background: #5faf5f; color: #ffffff;"|#5faf5f
 
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #008000; color: #ffffff;"|%xg
 
|-
 
|-
 +
|style="background: #00af87; color: #000000;"|#00af87
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5faf87; color: #000000;"|#5faf87
 
|style="background: #5faf87; color: #000000;"|#5faf87
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
 +
|style="background: #00afaf; color: #000000;"|#00afaf
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fafaf; color: #000000;"|#5fafaf
 
|style="background: #5fafaf; color: #000000;"|#5fafaf
 
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #008080; color: #000000;"|%xc
 
|-
 
|-
 +
|style="background: #00afd7; color: #000000;"|#00afd7
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fafd7; color: #000000;"|#5fafd7
 
|style="background: #5fafd7; color: #000000;"|#5fafd7
 
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #008080; color: #000000;"|%xc
 
|-
 
|-
 +
|style="background: #00afff; color: #000000;"|#00afff
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fafff; color: #000000;"|#5fafff
 
|style="background: #5fafff; color: #000000;"|#5fafff
 
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #008080; color: #000000;"|%xc
 
|-
 
|-
 +
|style="background: #00d700; color: #ffffff;"|#00d700
 +
|style="background: #008000; color: #ffffff;"|%xg
 
|style="background: #5fd700; color: #ffffff;"|#5fd700
 
|style="background: #5fd700; color: #ffffff;"|#5fd700
 
|style="background: #808000; color: #ffffff;"|%xy
 
|style="background: #808000; color: #ffffff;"|%xy
 
|-
 
|-
 +
|style="background: #00d75f; color: #000000;"|#00d75f
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fd75f; color: #000000;"|#5fd75f
 
|style="background: #5fd75f; color: #000000;"|#5fd75f
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|-
 
|-
 +
|style="background: #00d787; color: #000000;"|#00d787
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fd787; color: #000000;"|#5fd787
 
|style="background: #5fd787; color: #000000;"|#5fd787
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|-
 
|-
 +
|style="background: #00d7af; color: #000000;"|#00d7af
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fd7af; color: #000000;"|#5fd7af
 
|style="background: #5fd7af; color: #000000;"|#5fd7af
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|-
 +
|style="background: #00d7d7; color: #000000;"|#00d7d7
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fd7d7; color: #000000;"|#5fd7d7
 
|style="background: #5fd7d7; color: #000000;"|#5fd7d7
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|-
 
|-
 +
|style="background: #00d7ff; color: #000000;"|#00d7ff
 +
|style="background: #008080; color: #000000;"|%xc
 
|style="background: #5fd7ff; color: #000000;"|#5fd7ff
 
|style="background: #5fd7ff; color: #000000;"|#5fd7ff
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|-
 
|-
 +
|style="background: #00ff00; color: #000000;"|#00ff00
 +
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #5fff00; color: #000000;"|#5fff00
 
|style="background: #5fff00; color: #000000;"|#5fff00
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|-
 
|-
 +
|style="background: #00ff5f; color: #000000;"|#00ff5f
 +
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #5fff5f; color: #000000;"|#5fff5f
 
|style="background: #5fff5f; color: #000000;"|#5fff5f
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|-
 
|-
 +
|style="background: #00ff87; color: #000000;"|#00ff87
 +
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #5fff87; color: #000000;"|#5fff87
 
|style="background: #5fff87; color: #000000;"|#5fff87
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|style="background: #00ff00; color: #000000;"|%xh%xg
 
|-
 
|-
 +
|style="background: #00ffaf; color: #000000;"|#00ffaf
 +
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #5fffaf; color: #000000;"|#5fffaf
 
|style="background: #5fffaf; color: #000000;"|#5fffaf
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|-
 
|-
 +
|style="background: #00ffd7; color: #000000;"|#00ffd7
 +
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #5fffd7; color: #000000;"|#5fffd7
 
|style="background: #5fffd7; color: #000000;"|#5fffd7
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|-
 
|-
 +
|style="background: #00ffff; color: #000000;"|#00ffff
 +
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #5fffff; color: #000000;"|#5fffff
 
|style="background: #5fffff; color: #000000;"|#5fffff
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #00ffff; color: #000000;"|%xh%xc
Line 392: Line 439:
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|style="background: #00ffff; color: #000000;"|%xh%xc
 
|-
 
|-
 +
 +
 +
 +
 
|style="background: #af0000; color: #ffffff;"|#af0000
 
|style="background: #af0000; color: #ffffff;"|#af0000
 
|style="background: #800000; color: #ffffff;"|%xr
 
|style="background: #800000; color: #ffffff;"|%xr
Line 500: Line 551:
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|-
 
|-
 +
 +
 +
 +
 +
 +
 
|style="background: #d70000; color: #ffffff;"|#d70000
 
|style="background: #d70000; color: #ffffff;"|#d70000
 
|style="background: #800000; color: #ffffff;"|%xr
 
|style="background: #800000; color: #ffffff;"|%xr
Line 714: Line 771:
 
|-
 
|-
 
|style="background: #ffffff; color: #000000;"|#ffffff
 
|style="background: #ffffff; color: #000000;"|#ffffff
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|-
 
|style="background: #080808; color: #ffffff;"|#080808
 
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|style="background: #121212; color: #ffffff;"|#121212
 
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|style="background: #1c1c1c; color: #ffffff;"|#1c1c1c
 
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|style="background: #262626; color: #ffffff;"|#262626
 
|style="background: #000000; color: #ffffff;"|%xx
 
|-
 
|style="background: #303030; color: #000000;"|#303030
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #3a3a3a; color: #000000;"|#3a3a3a
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #444444; color: #000000;"|#444444
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #4e4e4e; color: #000000;"|#4e4e4e
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #585858; color: #000000;"|#585858
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #606060; color: #000000;"|#606060
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #666666; color: #000000;"|#666666
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #767676; color: #000000;"|#767676
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #808080; color: #000000;"|#808080
 
|style="background: #808080; color: #000000;"|%xh%xx
 
|-
 
|style="background: #8a8a8a; color: #000000;"|#8a8a8a
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #949494; color: #000000;"|#949494
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #9e9e9e; color: #000000;"|#9e9e9e
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #a8a8a8; color: #000000;"|#a8a8a8
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #b2b2b2; color: #000000;"|#b2b2b2
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #bcbcbc; color: #000000;"|#bcbcbc
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #c6c6c6; color: #000000;"|#c6c6c6
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #d0d0d0; color: #000000;"|#d0d0d0
 
|style="background: #c0c0c0; color: #000000;"|%xw
 
|-
 
|style="background: #dadada; color: #000000;"|#dadada
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|-
 
|style="background: #e4e4e4; color: #000000;"|#e4e4e4
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|-
 
|style="background: #eeeeee; color: #000000;"|#eeeeee
 
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|style="background: #ffffff; color: #000000;"|%xh%xw
 
|}
 
|}
</center>
 

Revision as of 20:33, 8 December 2016

This is a list of color codes, and how the HTML 256 corresponds to the ANSI 16, so if you want a color, you can see how it will show to people whether they're using 256 color or not.

To set yourself so you can see color in general, it is:

@set me=ansi

To set yourself to see 256 Color:

@set me=color256

To set yourself to only see ANSI 16 colors:

@set me=!color256


HTML 256 ANSI 16 HTML 256 ANSI 16
#000000 %xx #808080 %xh%xx
#800000 %xr #ff0000 %xh%xr
#008000 %xg #00ff00 %xh%xg
#808000 %xy #ffff00 %xh%xy
#000080 %xb #0000ff %xh%xb
#800080 %xm #ff00ff %xh%xm
#008080 %xc #00ffff %xh%xc
#c0c0c0 %xw #ffffff %xh%xw


HTML 256 ANSI 16
#080808 %xx
#121212 %xx
#1c1c1c %xx
#262626 %xx
#303030 %xh%xx
#3a3a3a %xh%xx
#444444 %xh%xx
#4e4e4e %xh%xx
#585858 %xh%xx
#606060 %xh%xx
#666666 %xh%xx
#767676 %xh%xx
#808080 %xh%xx
#8a8a8a %xw
#949494 %xw
#9e9e9e %xw
#a8a8a8 %xw
#b2b2b2 %xw
#bcbcbc %xw
#c6c6c6 %xw
#d0d0d0 %xw
#dadada %xh%xw
#e4e4e4 %xh%xw
#eeeeee %xh%xw


HTML 256 ANSI 16 HTML 256 ANSI 16
#000000 %xx #5f0000 %xr
#00005f %xb #5f005f %xm
#000087 %xb #5f0087 %xm
#0000af %xb #5f00af %xm
#0000d7 %xb #5f00d7 %xb
#0000ff %xb #5f00ff %xb
#005f00 %xh%xx #5f5f00 %xh%xx
#005f5f %xh%xx #5f5f5f %xh%xx
#005f87 %xh%xx #5f5f87 %xh%xx
#005faf %xh%xb #5f5faf %xh%xb
#005fd7 %xh%xb #5f5fd7 %xh%xb
#005fff %xh%xb #5f5fff %xh%xb
#008700 %xg #5f8700 %xg
#00875f %xh%xx #5f875f %xh%xx
#008787 %xc #5f8787 %xh%xx
#0087af %xc #5f87af %xh%xb
#0087d7 %xc #5f87d7 %xh%xb
#0087ff %xh%xb #5f87ff %xh%xb
#00af00 %xg #5faf00 %xg
#00af5f %xg #5faf5f %xg
#00af87 %xc #5faf87 %xw
#00afaf %xc #5fafaf %xc
#00afd7 %xc #5fafd7 %xc
#00afff %xc #5fafff %xc
#00d700 %xg #5fd700 %xy
#00d75f %xc #5fd75f %xh%xg
#00d787 %xc #5fd787 %xh%xg
#00d7af %xc #5fd7af %xw
#00d7d7 %xc #5fd7d7 %xh%xc
#00d7ff %xc #5fd7ff %xh%xc
#00ff00 %xh%xg #5fff00 %xh%xg
#00ff5f %xh%xg #5fff5f %xh%xg
#00ff87 %xh%xg #5fff87 %xh%xg
#00ffaf %xh%xc #5fffaf %xh%xc
#00ffd7 %xh%xc #5fffd7 %xh%xc
#00ffff %xh%xc #5fffff %xh%xc
#870000 %xr
#87005f %xm
#870087 %xm
#8700af %xm
#8700d7 %xm
#8700ff %xm
#875f00 %xh%xx
#875f5f %xh%xx
#875f87 %xh%xx
#875faf %xh%xx
#875fd7 %xh%xb
#875fff %xh%xb
#878700 %xy
#87875f %xh%xx
#878787 %xh%xx
#8787af %xw
#8787d7 %xh%xb
#8787ff %xh%xb
#87af00 %xy
#87af5f %xw
#87af87 %xw
#87afaf %xw
#87afd7 %xw
#87afff %xw
#87d700 %xy
#87d75f %xh%xg
#87d787 %xw
#87d7af %xw
#87d7d7 %xw
#87d7ff %xh%xc
#87ff00 %xh%xg
#87ff5f %xh%xg
#87ff87 %xh%xg
#87ffaf %xh%xg
#87ffd7 %xh%xc
#87ffff %xh%xc
#af0000 %xr
#af005f %xm
#af0087 %xm
#af00af %xm
#af00d7 %xm
#af00ff %xm
#af5f00 %xh%xr
#af5f5f %xh%xr
#af5f87 %xh%xr
#af5faf %xh%xm
#af5fd7 %xh%xm
#af5fff %xh%xm
#af8700 %xy
#af875f %xh%xr
#af8787 %xw
#af87af %xw
#af87d7 %xw
#af87ff %xh%xm
#afaf00 %xy
#afaf5f %xw
#afaf87 %xw
#afafaf %xw
#afafd7 %xw
#afafff %xw
#afd700 %xy
#afd75f %xw
#afd787 %xw
#afd7af %xw
#afd7d7 %xw
#afd7ff %xw
#afff00 %xh%xy
#afff5f %xh%xy
#afff87 %xh%xg
#afffaf %xh%xw
#afffd7 %xh%xw
#afffff %xh%xw
#d70000 %xr
#d7005f %xr
#d70087 %xm
#d700af %xm
#d700d7 %xm
#d700ff %xm
#d75f00 %xh%xr
#d75f5f %xh%xr
#d75f87 %xh%xr
#d75faf %xh%xm
#d75fd7 %xh%xm
#d75fff %xh%xm
#d78700 %xy
#d7875f %xh%xr
#d78787 %xh%xr
#d787af %xw
#d787d7 %xw
#d787ff %xh%xm
#d7af00 %xy
#d7af5f %xy
#d7af87 %xw
#d7afaf %xw
#d7afd7 %xw
#d7afff %xw
#d7d700 %xy
#d7d75f %xh%xy
#d7d787 %xw
#d7d7af %xw
#d7d7d7 %xw
#d7d7ff %xh%xw
#d7ff00 %xh%xy
#d7ff5f %xh%xy
#d7ff87 %xh%xy
#d7ffaf %xh%xw
#d7ffd7 %xh%xw
#d7ffff %xh%xw
#ff0000 %xr
#ff005f %xr
#ff0087 %xm
#ff00af %xm
#ff00d7 %xm
#ff00ff %xm
#ff5f00 %xh%xr
#ff5f5f %xh%xr
#ff5f87 %xh%xr
#ff5faf %xh%xm
#ff5fd7 %xh%xm
#ff5fff %xh%xm
#ff8700 %xy
#ff875f %xh%xr
#ff8787 %xh%xr
#ff87af %xw
#ff87d7 %xh%xm
#ff87ff %xh%xm
#ffaf00 %xy
#ffaf5f %xy
#ffaf87 %xw
#ffafaf %xw
#ffafd7 %xw
#ffafff %xw
#ffd700 %xh%xy
#ffd75f %xh%xy
#ffd787 %xh%xy
#ffd7af %xh%xw
#ffd7d7 %xh%xw
#ffd7ff %xh%xw
#ffff00 %xh%xy
#ffff5f %xh%xy
#ffff87 %xh%xy
#ffffaf %xh%xw
#ffffd7 %xh%xw
#ffffff %xh%xw