1.0.2 โ€ข Published 7 months ago

@chrisaugu/png-national-color v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

PNG National Color ๐Ÿ‡ต๐Ÿ‡ฌ

A simple npm package that provides the national colors of Papua New Guinea (PNG) as RGB, HEX, and HSL values. Useful for theming, design, or any application that requires PNG's official colors.

๐Ÿ“ฅ Install

Install the package via npm:

npm install @chrisaugu/png-national-color

Or with Yarn:

yarn add @chrisaugu/png-national-color

๐Ÿ› ๏ธ How to Use

Import the package and access PNG's national colors in different formats:

const pngColors = require('@chrisaugu/png-national-color');

console.log(pngColors.color.black);
console.log(pngColors.color.white);
console.log(pngColors.color.red);
console.log(pngColors.color.yellow);
console.log(pngColors.emoji_color);
console.log(pngColors.emoji);

Available Colors

  • Black (Traditional)
  • Red (Symbolizes unity)
  • Gold/Yellow (Represents the sun and wealth)

๐Ÿ“œ License

This project is licensed under the MIT License. See LICENSE for details.

๐Ÿค Contribution

Contributions are welcome! If you'd like to improve this package: 1. Fork the repository 2. Create a feature branch (git checkout -b feature/improvement) 3. Commit your changes (git commit -m 'Add new color format') 4. Push to the branch (git push origin feature/improvement) 5. Open a Pull Request

๐Ÿ‘ค Author

  • Christian Augustyn
  • GitHub: @chrisaugu
  • NPM: @chrisaugu

๐Ÿงช Test

To run tests (if available), use:

npm test

Or check the /test directory for examples.