internal HslColor GetForeground (ChunkStyle chunkStyle) { if (chunkStyle.TransparentForeground) return PlainText.Foreground; return chunkStyle.Foreground; } }