home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / APPS / DATABASE / SLYCE110.ZIP / COLOR.COM (.txt) < prev    next >
Encoding:
Asc2Com (MorganSoft)  |  1989-05-15  |  6.0 KB  |  98 lines

  1. Color:  Reference for Asc2Com.
  2.  
  3.  
  4.          The following Hex values correspond to the colors indicated.
  5.  
  6.  
  7.  Hex Value    Color                 Color Attribute =  BackGround/Foreground
  8.     0         Black                                          4        A
  9.     1         Blue                                           ^        │
  10.     2         Green                                          │        │
  11.     3         Cyan                                           │        │
  12.     4         Red                          Red          ─────┘        │
  13.     5         Magenta                        Background               │
  14.     6         Brown                                                   │
  15.     7         Light Gray                   Light Green  ──────────────┘
  16.     8         Dark Gray                      Foreground
  17.     9         Light Blue
  18.     A         Light Green
  19.     B         Light Cyan
  20.     C         Light Red
  21.     D         Light Magenta
  22.     E         Yellow
  23.     F         White
  24.  
  25.  
  26.  
  27.          Therefore, to generate a file  myfile.com using Asc2com,
  28.          that will be displayed  with a yellow foreground and blue
  29.          background,  you would type at the command line:
  30.  
  31.          C> asc2com myfile.txt 30
  32.  
  33.          Or, if you also wish to expand tabs, and disable single line
  34.          scrolling, type:
  35.  
  36.          C> asc2com myfile.txt /e 30 /l-
  37.             or
  38.          C> asc2com myfile.txt 30 /l- /e
  39.  
  40.          Order after the file name is immaterial.
  41.  
  42.          Color.Com was generated with a yellow background and blue
  43.          foreground, and the command line was:
  44.  
  45.          C> asc2com color.doc 225  /l-
  46.  
  47.  
  48.  
  49.  
  50.                                  Hex to Decimal
  51.                                    Conversion
  52.                                     00 - 7F
  53.  
  54.     00=0     10=16    20=32    30=48    40=64    50=80    60= 96    70=112
  55.     01=1     11=17    21=33    31=49    41=65    51=81    61= 97    71=113
  56.     02=2     12=18    22=34    32=50    42=66    52=82    62= 98    72=114
  57.     03=3     13=19    23=35    33=51    43=67    53=83    63= 99    73=115
  58.     04=4     14=20    24=36    34=52    44=68    54=84    64=100    74=116
  59.     05=5     15=21    25=37    35=53    45=69    55=85    65=101    75=117
  60.     06=6     16=22    26=38    36=54    46=70    56=86    66=102    76=118
  61.     07=7     17=23    27=39    37=55    47=71    57=87    67=103    77=119
  62.     08=8     18=24    28=40    38=56    48=72    58=88    68=104    78=120
  63.     09=9     19=25    29=41    39=57    49=73    59=89    69=105    79=121
  64.     0A=10    1A=26    2A=42    3A=58    4A=74    5A=90    6A=106    7A=122
  65.     0B=11    1B=27    2B=43    3B=59    4B=75    5B=91    6B=107    7B=123
  66.     0C=12    1C=28    2C=44    3C=60    4C=76    5C=92    6C=108    7C=124
  67.     0D=13    1D=29    2D=45    3D=61    4D=77    5D=93    6D=109    7D=125
  68.     0E=14    1E=30    2E=46    3E=62    4E=78    5E=94    6E=110    7E=126
  69.     0F=15    1F=31    2F=47    3F=63    4F=79    5F=95    6F=111    7F=127
  70.  
  71.  
  72.  
  73.  
  74.                                  Hex to Decimal
  75.                                    Conversion
  76.                                     80 - FF
  77.  
  78.     80=128   90=144   A0=160   B0=176   C0=192   D0=208   E0=224    F0=240
  79.     81=129   91=145   A1=161   B1=177   C1=193   D1=209   E1=225    F1=241
  80.     82=130   92=146   A2=162   B2=178   C2=194   D2=210   E2=226    F2=242
  81.     83=131   93=147   A3=163   B3=179   C3=195   D3=211   E3=227    F3=243
  82.     84=132   94=148   A4=164   B4=180   C4=196   D4=212   E4=228    F4=244
  83.     85=133   95=149   A5=165   B5=181   C5=197   D5=213   E5=229    F5=245
  84.     86=134   96=150   A6=166   B6=182   C6=198   D6=214   E6=230    F6=246
  85.     87=135   97=151   A7=167   B7=183   C7=199   D7=215   E7=231    F7=247
  86.     88=136   98=152   A8=168   B8=184   C8=200   D8=216   E8=232    F8=248
  87.     89=137   99=153   A9=169   B9=185   C9=201   D9=217   E9=233    F9=249
  88.     8A=138   9A=154   AA=170   BA=186   CA=202   DA=218   EA=234    FA=250
  89.     8B=139   9B=155   AB=171   BB=187   CB=203   DB=219   EB=235    FB=251
  90.     8C=140   9C=156   AC=172   BC=188   CC=204   DC=220   EC=236    FC=252
  91.     8D=141   9D=157   AD=173   BD=189   CD=105   DD=221   ED=237    FD=253
  92.     8E=142   9E=158   AE=174   BE=190   CE=206   DE=222   EE=238    FE=254
  93.     8F=143   9F=159   AF=175   BF=191   CF=207   DF=223   EF=239    FF=255
  94.  
  95.  
  96.  
  97.  
  98.