を使用してnpoiを使用してcell backgroudn
にRGBカラーを設定するにはどうすればよいですか?xssfworkbook npoiを使用してRGBカラーを設定するには
byte[] rgb = new byte[3] { 192, 50, 90 };
XSSFCellStyle HeaderCellStyle1 = (XSSFCellStyle)wb.CreateCellStyle();
HeaderCellStyle1.SetFillForegroundColor(new XSSFColor(new Color(255, 255, 255)));
私はこのパターンを使用したくない:
titlestyle.BottomBorderColor = IndexedColors.Grey25Percent.Index;