hex-argb-converter
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

You can convert hex color to argb number and convert argb number to hex color

// install with npm
npm install hex-argb-converter

Usage

import { hexToArgb, argbToHex } from "hex-argb-converter";

//Generate
hexToArgb("#ba1a1a"); // 4290386458

argbToHex(4290386458); // "#ba1a1a"

Features

  • Very fast
  • Very easy

/hex-argb-converter/

    Package Sidebar

    Install

    npm i hex-argb-converter

    Weekly Downloads

    4

    Version

    0.0.1

    License

    ISC

    Unpacked Size

    16.3 kB

    Total Files

    12

    Last publish

    Collaborators

    • alimortazavi