what would be a possible solution for

what would be a possible solution for


$(document).ready(function () {

    $(".back-dark-1").ready(function (){
        $(this).css("background-color",$(this).css("color"));
    })

});



wanted to grab a css element and put it in another attribute of the DIV

Anyone know how to do this?