View on GitHub

WriteXLSX

ruby gem for generating XLSX file.

Download this project as a .zip file Download this project as a tar.gz file

CONTENTS

WORKING WITH COLOURS

Throughout WriteXLSX colours can be specified using a Html style #RRGGBB value. For example with a Format object:

format.set_color('FF0000')

For backward compatibility a limited number of color names are supported:

format.set_color('red')

The color names supported are:

black
blue
brown
cyan
gray
green
lime
magenta
navy
orange
pink
purple
red
silver
white
yellow

colors.rb in the examples directory.