UmyaSpreadsheetEx.CustomStructs.CustomColor (umya_spreadsheet_ex v0.7.0)
View SourceStruct for representing colors with ARGB values.
Summary
Functions
Creates a new CustomColor struct from a hex color string.
Functions
Creates a new CustomColor struct from a hex color string.
Examples
iex> UmyaSpreadsheetEx.CustomStructs.CustomColor.from_hex("#FF0000")
%UmyaSpreadsheetEx.CustomStructs.CustomColor{argb: "FFFF0000"}
iex> UmyaSpreadsheetEx.CustomStructs.CustomColor.from_hex("00FF00")
%UmyaSpreadsheetEx.CustomStructs.CustomColor{argb: "FF00FF00"}