{"id":22924579,"url":"https://github.com/noccer/hexidecimal-time-swatch","last_synced_at":"2025-04-01T15:20:47.559Z","repository":{"id":119592269,"uuid":"117678044","full_name":"noccer/hexidecimal-time-swatch","owner":"noccer","description":"A single page app that prints out every second of the current hour as a hexidecimal colour.","archived":false,"fork":false,"pushed_at":"2018-01-16T12:41:40.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T09:41:47.877Z","etag":null,"topics":["color","hexidecimal","javascript","single-page-app"],"latest_commit_sha":null,"homepage":"https://noccer.github.io/hexidecimal-time-swatch/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noccer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-01-16T11:58:40.000Z","updated_at":"2018-01-16T12:37:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"0abf2404-542e-4df5-a0f3-387e182abf68","html_url":"https://github.com/noccer/hexidecimal-time-swatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noccer%2Fhexidecimal-time-swatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noccer%2Fhexidecimal-time-swatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noccer%2Fhexidecimal-time-swatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noccer%2Fhexidecimal-time-swatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noccer","download_url":"https://codeload.github.com/noccer/hexidecimal-time-swatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246660081,"owners_count":20813338,"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":["color","hexidecimal","javascript","single-page-app"],"created_at":"2024-12-14T08:29:19.691Z","updated_at":"2025-04-01T15:20:47.536Z","avatar_url":"https://github.com/noccer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hexidecimal Time Swatch\n\n[View a live demo here](https://noccer.github.io/hexidecimal-time-swatch/)\n\nA simple single page app that prints out every second of a given hour as a colour swatch. Hover over each cell to see what time of the day the colour represented.\n\n## What is it?\n\nIn html pages, you can choose to colour an element using the [hexidecimal colour system](https://en.wikipedia.org/wiki/Hexadecimal).\n\n\u003e Example 1: `#000000` represents black\n\u003e \u003cdiv style=\"display: flex; align-items: center; justify-content: center; width: 200px; height: 100px; color: white; background-color: #000000; padding: 10px;\"\u003e\n\u003e   I am a div with background colour #000000;\n\u003e\u003c/div\u003e\n\n\u003e Example 2: `#ff0000` represents red\n\u003e \u003cdiv style=\"display: flex; align-items: center; justify-content: center; width: 200px; height: 100px; color: white; background-color: #ff0000; padding: 10px;\"\u003e\n\u003e   I am a div with background colour #ff0000;\n\u003e\u003c/div\u003e\n\nThat means that any time of the 24-hour day from `00:00:00` to `23:59:59` can be represented as a colour:\n\n\u003e Example 3: `#113949` represents 11:39:49am\n\u003e \u003cdiv style=\"display: flex; align-items: center; justify-content: center; width: 200px; height: 150px; color: white; background-color: #113949; padding: 10px;\"\u003e\n\u003e   I am a div with background colour #113949, which was derived from `11:39:49am`;\n\u003e\u003c/div\u003e\n\n## Eh, but what does this repo do?\n\nWell it takes the current hour, performas a loop over all 3600 seconds and renders a colour cell for each of those seconds. Neat!\n\n\u003cdiv style=\"max-width: 50%; margin: 0 auto;\"\u003e\n    \u003cimg src=\"./hexidecimal_time_swatch.png\" alt=\"Hexidecimal Time Swatch\" /\u003e\n\u003c/div\u003e\n\n## Todo\n\n- rebuild in React maybe\n- add a counter interval to update the highlighted cell every time a second ticks.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoccer%2Fhexidecimal-time-swatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoccer%2Fhexidecimal-time-swatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoccer%2Fhexidecimal-time-swatch/lists"}