Site icon Hip-Hop Website Design and Development

How to create a custom post type with additional fields?

Beginner’s question:
Looking for example how to create a custom post type with additional elements. What I mean is: in my code I have a basic stuff like ‘title’, ‘editor’ … but I need also for example ‘start’, ‘end’ – date fields or ‘color’.
How to achieve this?