目录
目录README.md

ColorHexRGB

Swift 4.2 Swift 5.x Version License Platform Carthage compatible

A very simple one-file drop in to convert NSColor to RGB-hex Strings and back.

  • NSColor.init?(hexString:) converts RGB, RRGGBB, or AARRGGBB formats to colors.
  • NSColor.rgbString and NSColor.argbString do it the other way around.

Used to read color hex strings from theme files and CSS.

License

Copyright (c) 2018–2020 Christian Tietze. Distributed under the MIT License.

邀请码