Format for recording RGB color in MySQL
If "you want to send it to the client with the same format", then it is reasonable to treat it as "opaque".

That is, store it as a string with no meaning or structure that you care about.  And it does not matter (within limits) what datatype you use.  VARCHAR(99), TEXT, BLOB -- any of these would suffice.