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

如何单元格用自定义颜色值 #4027

Open
lxychinese opened this issue Oct 18, 2024 · 1 comment
Open

如何单元格用自定义颜色值 #4027

lxychinese opened this issue Oct 18, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@lxychinese
Copy link

lxychinese commented Oct 18, 2024

官方用法
style.setFillForegroundColor(IndexedColors.YELLOW.getIndex());
如果用自定义的颜色值 而不是官方定义的那些色值
比如我用个颜色值#F5F7FA 如何应用 在单元格上

@lxychinese lxychinese added the help wanted Extra attention is needed label Oct 18, 2024
@alibaba alibaba deleted a comment Oct 28, 2024
@LSL1618
Copy link

LSL1618 commented Nov 22, 2024

建议把Hex16进制颜色值转换为RGB颜色值,参考这个 #3866 设置颜色样式。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants