summaryrefslogtreecommitdiffstats
path: root/users/konstantin/rgb.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/konstantin/rgb.h')
-rw-r--r--users/konstantin/rgb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/users/konstantin/rgb.h b/users/konstantin/rgb.h
index 2ea10c67a..e296cf12e 100644
--- a/users/konstantin/rgb.h
+++ b/users/konstantin/rgb.h
@@ -3,15 +3,15 @@
#include "quantum.h"
typedef struct {
- uint16_t h;
- uint8_t s;
- uint8_t v;
+ uint16_t h; // 0–360
+ uint8_t s; // 0–255
+ uint8_t v; // 0–255
} hsv_t;
typedef struct {
- uint8_t r;
- uint8_t g;
- uint8_t b;
+ uint8_t r; // 0–255
+ uint8_t g; // 0–255
+ uint8_t b; // 0–255
} rgb_t;
extern const hsv_t GODSPEED_BLUE;