Socket
Socket
Sign inDemoInstall

color-alpha

Package Overview
Dependencies
2
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    color-alpha

Change alpha value of a color string


Version published
Weekly downloads
310K
increased by13.55%
Maintainers
2
Install size
28.8 kB
Created
Weekly downloads
 

Readme

Source

color-alpha stable build size

Change alpha of a color.

npm install color-alpha

import α from 'color-alpha'
α('white', .4); // 'rgba(255,255,255,.4)'

Input color is parsed with color-parse package.

Keywords

FAQs

Last updated on 14 Mar 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc