Closed ghost closed 7 years ago
I am always happy to test a patch. Most important is, that all the tests will pass on Travis.
Maybe you can try the color list on: http://www.softwaremaniacs.net/2013/11/setting-cell-color-using-ruby.html
Thank you for this input.
Hello.
I was trying to use :slateblue as colour.
For instance:
Spreadsheet told me this error:
spreadsheet-1.0.5/lib/spreadsheet/datatypes.rb:109:in `block (2 levels) in colors': unknown color 'slateblue' (ArgumentError)
Would it be possible to feedback a way of supported and available colours? (:slateblue I tried to use as it may be a "web colour"; the tutorial mentions :blue which is working, so I was trying to see whether I could use :slateblue as well).
E. g. colour inbuilts?
The syntax could be, to give an example:
Spreadsheet::Format.colours Spreadsheet::Format.colors
Or perhaps something such as:
Spreadsheet.available_colours?
If this is not a useful addition feel free to just close it.
Thanks for reading!