A colour given as an array of 0, 1, 3 or 4 numbers whose count selects the device colour space, as annotation entries such as
C and IC and appearance characteristics such as BC and BG give it.
public sealed class PdfDeviceColor : IEquatable<PdfDeviceColor>
ISO 32000-2 §12.5.2, Table 166 (C): 0 elements is no colour (transparent), 1 DeviceGray, 3 DeviceRGB, 4 DeviceCMYK, each
component from 0.0 to 1.0. The components are kept as the file gives them, never clamped. A snapshot: reading the entry again
returns a new instance.
kind:method, kind:property, kind:ctor. Press Esc to clear.PdfDeviceColor(ReadOnlySpan<Double>)Initializes a new instance of the PdfDeviceColor class.ColorSpaceGets the colour space the number of components selects.ComponentsGets the components, in the order of the colour space (gray; red, green, blue; cyan, magenta, yellow, black).IsTransparentGets a value indicating whether this is no colour at all (an empty array): transparent.ToString()Returns the colour as a PDF array would write it, such as [1 0 0].