{"id":25300112,"url":"https://github.com/deftio/colormix","last_synced_at":"2026-01-20T12:33:51.731Z","repository":{"id":233186981,"uuid":"786255615","full_name":"deftio/ColorMix","owner":"deftio","description":"Simple HTML Color Mixer with additive and subtractive colors for exploring RGB vs CMY colors.","archived":false,"fork":false,"pushed_at":"2024-04-29T20:17:46.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T23:41:20.244Z","etag":null,"topics":["cmy","color","html","rgb"],"latest_commit_sha":null,"homepage":"https://deftio.github.io/ColorMix/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deftio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-13T22:20:44.000Z","updated_at":"2024-04-29T20:17:50.000Z","dependencies_parsed_at":"2025-04-06T23:40:39.301Z","dependency_job_id":"1e60a0e6-ab59-44fc-b98f-0a08508cb021","html_url":"https://github.com/deftio/ColorMix","commit_stats":null,"previous_names":["deftio/colormix"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/deftio/ColorMix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2FColorMix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2FColorMix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2FColorMix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2FColorMix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deftio","download_url":"https://codeload.github.com/deftio/ColorMix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2FColorMix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cmy","color","html","rgb"],"created_at":"2025-02-13T05:38:24.523Z","updated_at":"2026-01-20T12:33:51.714Z","avatar_url":"https://github.com/deftio.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ColorMix\n\nA simple html color mixer for exploring RGB (additive light) vs CMY (subtrative light) colors written in pure HTML.\n\nIf you download this [repo](https://github.com/deftio/ColorMix) can you view the files in this repo in your browser locally as well.\n\n## Online Demos here:\n\n[RGB and CMY Colors](https://deftio.github.io/ColorMix/colors.html) - a quick demo with sliders allowing you to see different colors\n\n[Additive Colors](https://deftio.github.io/ColorMix/additive.html ) - a quick demo on mixing RGB colors\n\n[Subtractive Colors](https://deftio.github.io/ColorMix/subtractive.html) - quick demo on mixing CMY colors.\n\n## About Additive and Subtractive Light and Colors\nColor perception begins with light, which can be thought of as composed of various colors. When light strikes an object, some colors are absorbed and others are reflected or transmitted. The specific colors that are reflected or transmitted determine the color of the object as perceived by a viewer.\n\nOur ability to see and interpret these colors relies on the specialized cells in our eyes known as cones and rods, which are located on the retina at the back of the eye. Rods are more numerous and are highly sensitive to light, allowing us to see in low-light conditions, but they do not detect color. Cones, on the other hand, are sensitive to color and come in three types, each responsive to different wavelengths of light corresponding to red, green, or blue.\n\nWhen light enters the eye, it is focused by the lens onto the retina, where it strikes the cones and rods. The cones, reacting to the light, send signals to the brain based on the mix of wavelengths they detect. The brain interprets these signals as colors through a process called color vision. For instance, when red and green wavelengths hit the cones, the brain might see yellow if both are stimulated equally.\n\nThis system of color detection and interpretation allows us to perceive a full spectrum of colors from different combinations of red, green, and blue light, explaining how we can see such a vast and nuanced array of colors in the world around us.\n\n### Additive Colors\nAdditive color mixing begins with black, or the absence of light, similar to what you would see in a completely dark room. When light is added to this darkness, it creates color. For example, with light sources like projectors or screens, primary colors of light (red, green, and blue) are combined in various ways to produce new colors:\n\nRed and green light combine to make yellow.\nGreen and blue light mix to create cyan.\nBlue and red light join to form magenta.\nWhen all three primary lights mix, the result is white light. This method is used in digital screens, where tiny pixels emit different levels of these three colors to make up all the colors you see on the device.\n\n### Subtractive Colors\nSubtractive color mixing starts with white light, which includes all colors. This method is used in painting and printing, where colors are created by removing light. The primary colors in this method are cyan, magenta, and yellow, which correspond to the primary colors of light they absorb:\n\nCyan absorbs red light but reflects green and blue.\nMagenta absorbs green light but reflects red and blue.\nYellow absorbs blue light but reflects red and green.\nMixing these pigments subtracts more wavelengths of light:\n\nCombining cyan and magenta produces blue.\nMixing cyan and yellow results in green.\nJoining yellow and magenta creates red.\nMixing all three subtractive colors ideally absorbs all light, resulting in black, though in practice, it often results in a dark brown or gray due to impurities in the colors.\n\n### Last Thoughts\n\nAdditive color mixing involves combining colored light, where adding more colors brings the result closer to white.\nSubtractive color mixing involves combining pigments, where adding more colors leads to less light being reflected, moving the result closer to black.\nThese processes allow for the reproduction of a wide spectrum of colors in various media, from art to industrial applications.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeftio%2Fcolormix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeftio%2Fcolormix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeftio%2Fcolormix/lists"}