Reference a Field in Content Type I created a content type with a text field in an Omega subtheme called "Prepaid" in Drupal 7. When a user inputs a hex value, it will create a div within the content area with inline CSS that changes the background color.  I know the PHP to make this work, but I am having issues determining where to place the function, where to call the function, and how to reference the field I created in the code. I am not new to coding, but I am new to coding within Drupal.  If anyone can help, I would be eternally grateful.
Create node--YOOR_TYPE_NAME.tpl.php and print_r($node) object, find what you need and place it on write tag style