Skip to content

Commit

Permalink
fix coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinLiquid committed May 15, 2024
1 parent 58337d2 commit babcf52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/color.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const threshold = 1.5
const threshold = 0.75

class Color {
/**
Expand Down Expand Up @@ -71,7 +71,7 @@ class Color {
}

/**
* Adjust the contrast of a color
* Adjust the contrast of a color for #000000
*
* @param color The color to adjust
* @returns The adjusted color
Expand Down

0 comments on commit babcf52

Please sign in to comment.