Td master data from mysql

I'm looking for a way to change a td in datatables with data from mysql.
Until here I have this:

createdRow: function (line, data, index) {
var iduser = data['usuarioid'];
var color = data['color'];
if (data['usuarioid'] == iduser) {
$ ('Td', row) .eq (1) .css (& # 39; background-color & # 39; # 80ffff & # 39;);

What works, but what I need, is to load the color of the variable color (var color) because each user has a defined color since it was created.
If I put the color manually, it works, but when I want to call the color variable, it just does not show the color.
An idea how to do it?

Greetings and thanks for your help or advice.