ColorHexRGB

master

ยต Library for hex-code RGB color conversion to NSColor
CleanCocoa/ColorHexRGB

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.

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Mon Mar 11 2024 12:45:53 GMT-0900 (Hawaii-Aleutian Daylight Time)