Skip to content

Commit

Permalink
Fix CSG module's rgb function (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
coder114514 authored Sep 3, 2024
1 parent a70e537 commit 417d995
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bundles/csg/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,7 @@ export function rgb(
throw new Error('RGB values must be between 0 and 255 (inclusive)');
}

return `#${redValue.toString(16)}${greenValue.toString(16)}
${blueValue.toString(16)}`;
return `#${redValue.toString(16)}${greenValue.toString(16)}${blueValue.toString(16)}`;
}

/**
Expand Down

0 comments on commit 417d995

Please sign in to comment.