Skip to content
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

Color fine alpha management #52

Open
adrien3d opened this issue Sep 1, 2023 · 1 comment
Open

Color fine alpha management #52

adrien3d opened this issue Sep 1, 2023 · 1 comment

Comments

@adrien3d
Copy link

adrien3d commented Sep 1, 2023

Hello, would it be possible to use custom colors (such as a HEX, or a RGB with alpha), for example for FormatColor?
I think we could use FormatColor::Custom(0x12_34_56) for custom color, but I don't see how to handle the alpha for transparency.
Do you have any idea on how to do so?

@jmcnamara
Copy link

The wrapped libxlsxwriter library only supports transparency for Chart Line and SolidFill elements.

These are exposed by the xlsxwriter.rs APIs: https://docs.rs/xlsxwriter/latest/xlsxwriter/index.html?search=transparency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants