示例#1
0
        public static IArgbColor GetRgbColor(XSSFColor color)
        {
            var bytes = color.RGB;

            if (bytes is null)
            {
                return(ExcelColor.Automatic);
            }
            else
            {
                return(RgbColor.Create(bytes[0], bytes[1], bytes[2]));
            }
        }