Yellowbeard is obviously based on the infamous, murderous real-life pirate Edward "Blackbeard" Teach. Blackbeard wove hemp into his hair, and lit it to frighten his prey, as Yellowbeard does in the film. Also, Teach was known for murdering the target ships' crew in horrific ways if the ship resisted in any way.
Link this trivia