Skip to content

Commit

Permalink
Merge branch 'pre-api'
Browse files Browse the repository at this point in the history
  • Loading branch information
maltem-za committed Apr 6, 2022
2 parents 9906efa + 516bb8f commit d790e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/catma/tag/TagDefinition.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public String getHexColor() {
int red = (rgb >> 16) & 0xFF;
int green = (rgb >> 8) & 0xFF;
int blue = rgb & 0xFF;
return String.format("#%2x%2x%2x", red, green, blue);
return String.format("#%02x%02x%02x", red, green, blue);

}

Expand Down

0 comments on commit d790e85

Please sign in to comment.