2023-02-02 22:15:44 +01:00
|
|
|
//
|
|
|
|
// Created by gwendolyn on 2/2/23.
|
|
|
|
//
|
|
|
|
|
2023-02-08 00:19:58 +01:00
|
|
|
#include "color.h"
|
2023-02-02 22:15:44 +01:00
|
|
|
|
|
|
|
clay_color clay_color_rgba(uint8_t r, uint8_t g, uint8_t b, uint8_t a) {
|
2023-02-08 00:19:58 +01:00
|
|
|
clay_color color = {.red = r, .green = g, .blue = b, .alpha = a};
|
2023-02-02 22:15:44 +01:00
|
|
|
return color;
|
|
|
|
}
|