Accessing productOptions value

Am trying to set a button background color to a value from the
productOptions value

The values I want to access is


Does anyone knows how i can get the value “#000ff” to set as the background using data from the store color option?