colvert

    1.0.0 • Public • Published

    Welcome to colvert 👋

    Version Documentation Maintenance License: MIT

    color value conversion package

    🏠 Homepage

    Install

    npm i colvert
    
    or npm install colvert
    const conv = require("colvert");

    Usage

    const col = conv.hexTorgb("#0A167B");   // returns [10,22,123]
    
    const col = conv.hexTohsl("#11191B");   // returns [192,23,9]
    
    const col = conv.rgbTohex([23, 180, 60]);   // returns "#17b43c"
    
    const col = conv.randomcolor();   // returns random color(hex)
    
    

    Functions

    • rgbTohsl

    • rgbTohex

    • rgbTocmyk

    • hexTorgb

    • hexTohsl

    • hexTocmyk

    • hslTorgb

    • hslTohex

    • hslTohsv

    • cmykTorgb

    • cmykTohex

    • cmykTohsl

    • randomcolor

    Author

    👤 abdul

    🤝 Contributing

    Contributions, issues and feature requests are welcome!
    Feel free to check issues page. You can also take a look at the contributing guide.

    Show your support

    Give a ⭐️ if this project helped you!

    📝 License

    Copyright © 2021 abdul.
    This project is MIT licensed.


    This README was generated with ❤️ by readme-md-generator

    Install

    npm i colvert

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    9.62 kB

    Total Files

    5

    Last publish

    Collaborators

    • moqez