Color file


In order to have the name of the color in output, a configuration file is needed.


The file is in the D drive, named Colors.xml


An example is:


<?xml version="1.0" standalone="yes"?>

<Colors>

  <Color>

    <Name>Red</Name>

    <R>50-60</R>

    <G>0-30</G>

    <B>0-20</B>

  </Color>

  <Color>

    <Name>Blue</Name>

    <R>0-30</R>

    <G>30-60</G>

    <B>30-60</B>

  </Color>

  <Color>

    <Name>Yellow</Name>

    <R>80-120</R>

    <G>60-100</G>

    <B>20-60</B>

  </Color>

  <Color>

    <Name>Violet</Name>

    <R>20-40</R>

    <G>20-40</G>

    <B>20-40</B>

  </Color>

  <Color>

    <Name>Black</Name>

    <R>0-10</R>

    <G>0-10</G>

    <B>0-10</B>

  </Color>

</Colors>


With the range of the three colors for each color name.