Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
In the 2017 Tour of Croatia, four different jerseys were awarded. The general classification was calculated by adding each cyclist's finishing times on each stage, and allowing time bonuses for the first three finishers at intermediate sprints (three seconds to first, two seconds to second and one second to third) and at the finish of mass-start stages; these were awarded to the first three finishers on all stages: the stage winner won a ten-second bonus, with six and four seconds for the second and third riders respectively. The leader of the classification received a red jersey; it was considered the most important of the 2017 Tour of Croatia, and the winner of the classification was considered the winner of the race.
Points for the mountains classification
Position
1
2
3
4
5
6
7
8
Points for Hors-category
20
15
10
8
6
4
3
2
Points for Category 2
6
4
2
0
Points for Category 3
3
2
1
Additionally, there was a points classification, which awarded a blue jersey. In the points classification, cyclists received points for finishing in the top 15 in a stage. For winning a stage, a rider earned 25 points, with 20 for second, 16 for third, 14 for fourth, 12 for fifth, 10 for sixth and a point fewer per place down to 1 point for 15th place. Points towards the classification could also be accrued – awarded on a 5–3–1 scale – at intermediate sprint points during each stage; these intermediate sprints also offered bonus seconds towards the general classification as noted above.
There was also a mountains classification, the leadership of which was marked by a green jersey. In the mountains classification, points towards the classification were won by reaching the top of a climb before other cyclists. Each climb was categorised as either hors, second, or third-category, with more points available for the higher-categorised climbs. The fourth and final jersey represented the classification for young riders, marked by a white jersey. This was decided the same way as the general classification, but only riders born after 1 January 1995 were eligible to be ranked in the classification. There was also a classification for teams, in which the times of the best three cyclists per team on each stage were added together; the leading team at the end of the race was the team with the lowest total time.