Using enum with specific type in struct in template files

I have the following struct which represent some binary:

typedef struct Car{
uchar numEngine,
byte numCar,
uchar color
};

and i also have this enum
enum Color{
red =10,
yellow = 254
};

How i can use enum Color inside the struct ?

I tried simply this :
typedef struct Car{
uchar numEngine,
byte numCar,
Color color
};
but then color will be of size int instead of uchar.

Thanks for your post. You can tell 010 Editor to treat the enum as a uchar by including <uchar> after the enum keyword:

enum <uchar> Color{
red =10,
yellow = 254
};

Graeme Sweet
SweetScape Software