COLORLIB file
Last updated
// overall file
ColorLibrary {
string header signature // always "MRC color library"
uint16 file version
string LibraryName
uint16 padding // always 0
uint16 nCategories
ColorCategory Categories[nCategories]
uint32 EOF signature // always 0
}
// category
ColorCategory {
string CategoryName
uint16 nColors
ColorItem Colors[nColors]
}
// color
ColorItem {
string ColorName
byte Format // 0: sRGB 8-bit, 1: sRGB, 2: linear RGB
byte/single Red // byte for Format = 0, single otherwise
byte/single Green // byte for Format = 0, single otherwise
byte/single Blue // byte for Format = 0, single otherwise
}