Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

itermcolors-to-hex

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

itermcolors-to-hex

🎨 Convert sRGB colors from an .itermcolors plist into a hex color object.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

iTermColors-to-Hex

🎨 Convert sRGB colors from an .itermcolors plist into a hex color object.

Build Status Coverage Status NPM Version XO code style

Note: You can find iTerm2 color schemes here: https://github.com/martinlindhe/base16-iterm2

Install

$ yarn add itermcolors-to-hex

Usage

const itermcolorsToHex = require('itermcolors-to-hex')
const colors = itermcolorsToHex()

Output:

{
    'Ansi 0 Color': '#ffffff',
    'Ansi 1 Color': '#ed436a',
    'Ansi 10 Color': '#f5f5f5',
    'Ansi 11 Color': '#c8fac8',
    'Ansi 12 Color': '#e8e8e8',
    'Ansi 13 Color': '#ffffff',
    'Ansi 14 Color': '#333333',
    'Ansi 15 Color': '#ffffff',
    'Ansi 2 Color': '#189136',
    'Ansi 3 Color': '#79a35d',
    'Ansi 4 Color': '#79a35d',
    'Ansi 5 Color': '#a75d1d',
    'Ansi 6 Color': '#189136',
    'Ansi 7 Color': '#333333',
    'Ansi 8 Color': '#969698',
    'Ansi 9 Color': '#00b386',
    'Background Color': '#ffffff',
    'Bold Color': '#c8fac8',
    'Cursor Color': '#c8fac8',
    'Cursor Text Color': '#ffffff',
    'Foreground Color': '#c8fac8',
    'Selected Text Color': '#c8fac8',
    'Selection Color': '#333333'
}

FAQs

Package last updated on 27 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc