Black_Star,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
.block{
width: 150px;
height: 150px;
}
.one{
background-color: rgb(255, 250, 44);
}
.two{
background-color: rgb(5, 250, 44);
}
.three{
background-color: rgb(25, 250, 144);
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
$("div").each(function(indx, el){
var color = $(el).css("backgroundColor");
$(this).html(color.match(/\d+/g).join(" "))
});
});
</script>
</head>
<body>
<div class="block one"></div>
<div class="block two"></div>
<div class="block three"></div>
</body>
</html>