sindresorhus / rgb-hexView external linksLinks
Convert RGB color to HEX
☆122Sep 1, 2023Updated 2 years ago
Alternatives and similar repositories for rgb-hex
Users that are interested in rgb-hex are comparing it to the libraries listed below
Sorting:
- Convert HEX color to RGB☆133Jul 22, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Convert RGB color to HEX☆42May 2, 2024Updated last year
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Check if a string is a valid filename☆62Aug 16, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Pretty UTC datetime: `2014-01-09 0601`☆32Jul 8, 2022Updated 3 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- Get the name and version of a macOS release from the Darwin version☆67Jun 11, 2025Updated 8 months ago
- Get the values of an object☆27Jun 21, 2023Updated 2 years ago
- Map of nouns to their irregular plural form☆91Nov 2, 2025Updated 3 months ago
- Parse text columns, like the output of unix commands☆84Sep 9, 2025Updated 5 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 3 weeks ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Sep 9, 2025Updated 5 months ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Normalize the newline characters in a string to `\n`☆30Sep 16, 2025Updated 5 months ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Pick random items from a list☆57Aug 10, 2021Updated 4 years ago
- Regular expression for matching reserved filename characters☆53Sep 14, 2025Updated 5 months ago
- Check if a string is HTML☆95Sep 9, 2025Updated 5 months ago
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Reliably get the terminal window size☆146Feb 2, 2026Updated 2 weeks ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated last year