-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add function to support inserting custom color into IndexedColors Map #1123
Conversation
The size of IndexedColor is fixed. We cannot simply add new custom color to indexed color list https://github.com/ClosedXML/ClosedXML/wiki/Excel-Indexed-Colors |
oh, i'll a take a look, thanks |
questions:
|
The API is already available: npoi/main/HSSF/UserModel/HSSFPalette.cs Line 121 in b4b94fe
|
These indexes are free and should be used for custom colors |
Hi @Bykiev I'm quite new to this npoi project, here's some learnings
but this requires color registed in class IndexedColors
correct me if anything wrong, thanks |
On POI side, they(IndexedColors) have index [0, 31], [40, 63], 56 colors supported but out of these 56 colors, there are 9 colors which are duplicated, index [0, 7] and index 27 (LIGHT_TURQUOISE) |
Any update on this? |
this closes #979