I need to use custom color
and pattern_fg_color
(HEX: 0x00adb1, RGB: 0,173,177). I was following advice from here, but it didn't work out for me (I am using it in another library based on the Spreadsheet gem):
Spreadsheet::Excel::Internals::SEDOC_ROLOC.update(enterprise: 0x00adb1)
Spreadsheet::Column.singleton_class::COLORS << :enterprise
Test example:
Spreadsheet::Format.new(pattern_fg_color: :enterprise)
And I get the following error:
unknown color 'enterprise'
Any suggestions would be appreciated greatly.