Declaration

func matchingColor(from color: NSColor) -> NSColor

Declaration

- (NSColor *) matchingColorFromColor:(NSColor *) color;

Declaration

matchingColorFromColor_(color: NSColor) -> NSColor

Discussion

Only RGB colors are changed to match the font’s color space. Any other color is returned as-is.

See Also

Colors