def set_tab_color(color)
    color = Colors.new.get_color(color)
    color = 0 if color == 0x7FFF # Default color.
    @tab_color = color
  end
def set_tab_color(color)
    color = Colors.new.get_color(color)
    color = 0 if color == 0x7FFF # Default color.
    @tab_color = color
  end
Set the colour of the worksheet colour.

 The set_tab_color() method is used to change the colour of the worksheet
 tab. This feature is only available in Excel 2002 and later. You can
 use one of the standard colour names provided by the Format object or a
 colour index. See "COLOURS IN EXCEL" and the set_custom_color() method.

     worksheet1.set_tab_color('red')
     worksheet2.set_tab_color(0x0C)

 See the tab_colors.rb program in the examples directory of the distro.