{"id":16010836,"url":"https://github.com/logerfo/csharp-colors","last_synced_at":"2025-03-17T15:30:26.743Z","repository":{"id":38073001,"uuid":"152113344","full_name":"Logerfo/csharp-colors","owner":"Logerfo","description":"Visual Studio Code extension that adds colored border around C# colors in the text editor.","archived":false,"fork":false,"pushed_at":"2025-03-08T14:33:00.000Z","size":677,"stargazers_count":4,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T17:11:40.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Logerfo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"Logerfo","open_collective":"bruno-logerfo","custom":"https://camo.githubusercontent.com/aba80efa983cc0dd45f2dbb4ecfdfd0f1ebe5b96/68747470733a2f2f692e696d6775722e636f6d2f6e646c427475582e706e67"}},"created_at":"2018-10-08T16:41:20.000Z","updated_at":"2025-03-08T14:33:03.000Z","dependencies_parsed_at":"2023-12-30T05:26:14.950Z","dependency_job_id":"739220e9-5fcc-4759-8e81-6fda152d465c","html_url":"https://github.com/Logerfo/csharp-colors","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fcsharp-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fcsharp-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fcsharp-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logerfo%2Fcsharp-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Logerfo","download_url":"https://codeload.github.com/Logerfo/csharp-colors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244058076,"owners_count":20391034,"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-08T13:21:44.062Z","updated_at":"2025-03-17T15:30:26.306Z","avatar_url":"https://github.com/Logerfo.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Logerfo","https://opencollective.com/bruno-logerfo","https://camo.githubusercontent.com/aba80efa983cc0dd45f2dbb4ecfdfd0f1ebe5b96/68747470733a2f2f692e696d6775722e636f6d2f6e646c427475582e706e67"],"categories":[],"sub_categories":[],"readme":"[![Known Vulnerabilities](https://snyk.io/test/github/logerfo/csharp-colors/badge.svg)](https://snyk.io/test/github/logerfo/csharp-colors)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FLogerfo%2Fcsharp-colors.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FLogerfo%2Fcsharp-colors?ref=badge_shield)\n[![Dependencies Status](https://david-dm.org/logerfo/csharp-colors/dev-status.svg)](https://david-dm.org/logerfo/csharp-colors?type=dev)\n\n# C# Colors\n\nThis extension is based on a [similar work](https://github.com/sergiirocks/vscode-ext-color-highlight) by [@sergiirocks](https://github.com/sergiirocks).\n\n## Features\n\n- `Color.FromArgb(int rgb)`\n- `Color.FromArgb(int r, int g, int b)`\n- `Color.FromArgb(int a, int r, int g, int b)`\n- `Color.?`\n- `KnownColor.?`\n- `Color.FromName(\"?\")`\n- `new Color(float r, float g, float b)`\n- `new Color(float r, float g, float b, float a)`\n- `new Color32(byte r, byte g, byte b, byte a)`\n\nThe `float` and `byte` overloads is meant to be used in Unity and allows the `UnityEngine.` leading qualifier.  \nEvery `int` parameter works for decimal, binary and hex.  \nTarget-typed `new` expressions are supported for constructors.  \nUnderscore (`_`) digit separator is supported. Leading `+` is supported. Leading argument name is supported.  \nSee supported color names and their values for `Color.?`, `KnownColor.?` and `Color.FromName(\"?\")` [here](https://github.com/Logerfo/csharp-colors/blob/master/src/strategies/colors.json) and [here](https://github.com/Logerfo/csharp-colors/blob/master/src/strategies/systemcolors.json). That's all of them, except for `Transparent` and `Empty`, which does not make sense to be supported in this extension. Unity static colors are supported, but they will also misleadingly show up in non-Unity environments, as well as the other colors will misleadingly show up in Unity environments, since checking which environment is currently used would be a large work. System colors are not OS theme sensitive, their values are fixed based on the [mono implementation](https://github.com/mono/mono/blob/c5b88ec4f323f2bdb7c7d0a595ece28dae66579c/mcs/class/System.Drawing/System.Drawing/KnownColors.cs#L35).\n\n## Contributing\n\nIf you have suggestions for how close-label could be improved, or want to report a bug, open an issue! We'd love all and any contributions.\n\nFor more, check out the [Contributing Guide](CONTRIBUTING.md).\n\n## [Release Notes](CHANGELOG.md)\n\n## Donate\n\n\u003cimg src=\"https://i.imgur.com/ndlBtuX.png\" width=\"200\"\u003e\n\nBTC: 1LoGErFoNzE1gCA5fzk6A82nV6iJdKssSZ\n\n## License\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FLogerfo%2Fcsharp-colors.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FLogerfo%2Fcsharp-colors?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogerfo%2Fcsharp-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogerfo%2Fcsharp-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogerfo%2Fcsharp-colors/lists"}