Skip to content

Commit

Permalink
chore: obtain colors from images
Browse files Browse the repository at this point in the history
  • Loading branch information
tomloprod authored Jun 8, 2024
1 parent af84fd7 commit 5b2610c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Additionally, it lets you check if a **background color meets the WCAG 2.0 acces

Furthermore, it includes multiple functions such as the following:

- It allows you to **obtain the colors found in an image**
- Generate the **best foreground color** (*white, black, or from a user-provided list*) for a background color, ensuring the best possible contrast ratio. (*important for improving text visibility on, for example, colored badges*).
- Generate a **fixed color based on a string.** Useful for generating a color associated with, for example, a username.
- Allows you to obtain a **random color similar to a given color.**
Expand Down

0 comments on commit 5b2610c

Please sign in to comment.