As a shop manager you may want to see the WooCommerce order status in different colors on the orders page.
This is how to change the color of the Order Refunded Status in WooCommerce. You need to either add the following snippet to your (child) theme's functions.php file or in a system plugin in /mu-plugins/ folder. Create the folder if it doesn't exist yet and create a php file in that folder and paste the code. It will be loaded automatically and won't need any special activation.
It is important to use !important after defining the styles because WooCommerce styles would take precedence otherwise.
The example below allows you to change the font color and the background color of the refunded order status. If you want just one or the other you can either put the line in a multi line comments /* */ or just delete it.
<?php
add_action('admin_head', 'orbisius_tutorial_7476_render_styles');
/**
* This will override text color and background color of Refunded Order Status in WooCommerce - Orders
* @return void
* @see https://orbisius.com/7476
*/
function orbisius_tutorial_7476_render_styles() {
?>
<style>
.order-status.status-refunded {
color: #fff !important;
background: red !important;
}
</style>
<?php
}