// 头背景设置成红色 IndexedColors.RED.getIndex()
@HeadStyle(fillPatternType = FillPatternType.SOLID_FOREGROUND, fillForegroundColor = 10)
public class ItemCategory implements Serializable {}
这个10对应的是红色。
哪位有颜色对照表。
fillForegroundColor 应该有参照表,你这Integer肯定是哪个enum
按住ctrl,点击进入源码,应该有注释说明。
颜色跟html一样,用单词或new Color();