I am trying to create a single OpenGL window with some background color picked in RGB color picker but it looks like I am missing something important in this function. When I want to set color to standard, for example red color, it works.
glClearColor(1.0f, 0.0f, 0.0f, 1.0f);
But when I want to set some exotic color like 184, 213, 238, 1 then it shows only white.
glClearColor(184.0f, 213.0f, 238.0f, 1.0f);
What am I doing wrong? And what are the decimal values for and also the f ?