lights FAQ Forum github.com/luapower/xlsxwriter

Data Exchange
cjson
expat
genx
libb64
csv
xlsxwriter

working_with_colors


Working with Colors

Throughout xlsxwriter colors are specified using a Html sytle #RRGGBB value. For example with a Format <format> object:

 format:set_font_color('#FF0000')

For convenience a limited number of color names are supported:

 format:set_font_color('red')

The color names and corresponding #RRGGBB value are shown below:

Color name RGB color code
black #000000
blue #0000FF
brown #800000
cyan #00FFFF
gray #808080
green #008000
lime #00FF00
magenta #FF00FF
navy #000080
orange #FF6600
pink #FF00FF
purple #800080
red #FF0000
silver #C0C0C0
white #FFFFFF
yellow #FFFF00

Last updated: 16 months ago | Edit on GitHub

Package:xlsxwriter
Pkg type:Lua
Version: v0.0.6-28-g34a34b8
Last commit:
Author: John McNamara
License: MIT

Requires: none

Required by: none


Top