Get all options of a specific attribute Magento

<?php
$attribute = Mage::getModel(‘eav/config’)->getAttribute(‘catalog_product’, ‘color’);
foreach ($attribute->getSource()->getAllOptions(true) as $option) {
echo $option['label'] . ‘ ‘ . $option['value'] . “<br />”;
}
?>