Hopalong Cassidy was a western character originally created by Clarence E. Mulford in 1904. Initially the character was rude, dangerous and rough talking. He had a wooden leg, which made him walk with a little hop, hence the nickname.
When he first appeared in the movies in 1935, played by the actor William Boyd, the character was now portrayed as a clean-cut, sober hero, whose nickname came after being shot in the leg. The character wore black from head to toe, an exception to the rule that only villains wore black hats.
His first outing in comic books was as a 'One-Shot' in 1943 by Fawcett Publications. This was followed by a series which ran for 84 issues between 1946-1953.