{"id":15038722,"url":"https://github.com/djben/kelvincolor","last_synced_at":"2026-03-12T06:02:12.317Z","repository":{"id":64059984,"uuid":"101272451","full_name":"DJBen/KelvinColor","owner":"DJBen","description":"Black body temperature to color in Swift.","archived":false,"fork":false,"pushed_at":"2017-08-24T09:08:47.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-18T21:29:23.563Z","etag":null,"topics":["carthage","color","kelvin","swift","swift-3","temperature"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DJBen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-24T08:31:43.000Z","updated_at":"2023-10-17T02:46:09.000Z","dependencies_parsed_at":"2022-12-02T10:54:17.252Z","dependency_job_id":null,"html_url":"https://github.com/DJBen/KelvinColor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBen%2FKelvinColor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBen%2FKelvinColor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBen%2FKelvinColor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DJBen%2FKelvinColor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DJBen","download_url":"https://codeload.github.com/DJBen/KelvinColor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254256664,"owners_count":22040329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["carthage","color","kelvin","swift","swift-3","temperature"],"created_at":"2024-09-24T20:39:52.163Z","updated_at":"2026-03-12T06:02:12.287Z","avatar_url":"https://github.com/DJBen.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KelvinColor\n\n[![Language](https://img.shields.io/badge/Swift-3.1-orange.svg?style=flat)](https://swift.org)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n_Black body temperature to color in swift._\n\n## Installation\n\n### Carthage\n\nAdd the following in your project's  [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md):\n\n    github \"DJBen/KelvinColor\" ~\u003e 0.1.0\n\n## Usage\n\nTemperature to color and color to temperature methods are extensions of `UIColor` class. No other classes are required!\n\n1. Kelvin to `UIColor`\n\n```swift\nUIColor.init(temperature: 6500)\n// (255, 249, 253)\n```\n2. UIColor to Kelvin\n\n```swift\ncolor.temperature\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjben%2Fkelvincolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjben%2Fkelvincolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjben%2Fkelvincolor/lists"}