The handkerchief code (also known as the hanky code, the bandana code, and flagging) is a color-coded system, employed usually among the gay male casual-sex seekers or BDSM practitioners in the leather subculture in the United States, Canada, and Europe, to indicate preferred sexual fetishes, what kind of sex they are seeking, and whether they are a top/dominant or bottom/submissive. The hanky code was widely used in the 1970s by gay and bisexual men, and grew from there to include all genders and orientations.

hanky code