title: Set color of node in ns2 with TCL script
body: <p>To set a color of node in ns2 with TCL script we use</p>
  
  <pre><code>set n0 [$ns node]
  set n1 [$ns node]
  
  $n0 color red
  $n1 color green
  </code></pre>
  
  <p>This works fine, but what to write in the script so that we can use hexadecimal values like #0000FF, #FF00FF etc. or RGB values to set color of node.</p>