cupertino-files / writeColor
Function: writeColor()
writeColor(
color):RawMessage
Defined in: src/tsd/style.ts:58
A colour that names no space is written as sRGB rather than bare. From iWork 19 on the apps stamp a space on every colour they write — of the 8,000-plus colours at the measured fill and stroke sites in iwork19/modern/current-era corpus files, not one is bare; bare colours appear only in 2013/2016-era files. An explicit space is kept as given, P3 included. The 26.x-era apps also stamp a headroom of 1.0 on every colour, which makes a written colour byte-identical to the app's own.