WordPress wp_add_inline_style unable to give hex colors?

You’re not setting the variables correctly. The values are strings so need to be in quotes:

$color = #FF0000 ;

Needs to be

$color="#FF0000";

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)