{"id":16710638,"url":"https://github.com/mdgriffith/elm-color-mixing","last_synced_at":"2025-09-10T00:35:48.272Z","repository":{"id":57675172,"uuid":"50545508","full_name":"mdgriffith/elm-color-mixing","owner":"mdgriffith","description":"Color mixing in elm!","archived":false,"fork":false,"pushed_at":"2019-01-04T09:28:53.000Z","size":20,"stargazers_count":9,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T01:38:17.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://package.elm-lang.org/packages/mdgriffith/elm-color-mixing/latest","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdgriffith.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":"2016-01-27T23:29:05.000Z","updated_at":"2022-08-27T15:45:58.000Z","dependencies_parsed_at":"2022-09-02T14:29:06.289Z","dependency_job_id":null,"html_url":"https://github.com/mdgriffith/elm-color-mixing","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdgriffith%2Felm-color-mixing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdgriffith%2Felm-color-mixing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdgriffith%2Felm-color-mixing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdgriffith%2Felm-color-mixing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdgriffith","download_url":"https://codeload.github.com/mdgriffith/elm-color-mixing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247270561,"owners_count":20911543,"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":[],"created_at":"2024-10-12T20:09:10.392Z","updated_at":"2025-04-10T05:35:34.754Z","avatar_url":"https://github.com/mdgriffith.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elm Color Mixing\n\nFunctions to mix color.\n\nUse the [Elm Core Color type](http://package.elm-lang.org/packages/elm-lang/core/2.1.0/Color) to create your colors and this library to mix them.\n\nThis library is modeled off of the [LESSCSS color functions](http://lesscss.org/functions/#color-operations). See their documentation for general descriptions of each color operation.\n\n## Working with elm-css\n\nWhile elm-css do not use `Color` internally ([see issue 76](https://github.com/rtfeldman/elm-css/issues/76)).\nYou can use `Color.Mixing` with a small helper, like:\n\n```elm\nimport Color.Mixing exposing (..)\nimport Color exposing (Color)\nimport Css\n\ncssColor : Color -\u003e Css.Color\ncssColor color =\n    let\n        { red, green, blue, alpha } =\n            Color.toRgb color\n    in\n        Css.rgba red green blue alpha\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdgriffith%2Felm-color-mixing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdgriffith%2Felm-color-mixing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdgriffith%2Felm-color-mixing/lists"}