WordPress Add Style Tag Into Head Programmatically

Note: If you have used single quotes (‘) in your CSS then you must need to add a backslash (\) before every single quote.